Skip to content

calculate the 5mC signal for the CG sites in a specific region #409

Open
@hannan666666

Description

@hannan666666

The pileup.bed.gz(bedMethyl files) contains all types of modifications (CG, CH), about 39G. but I only want to calculate the 5mC signal for the CG sites in a specific region. I now need to re-pileup the data with only the CG motif or use grep to extract the rows containing the CG motif to create a new .pileup.bed.gz and .pileup.bed.gz.tbi, which is too slow. Are there any parameters that can achieve this when using the modkit stats command?

modkit stats ${modkit_d}/${pod5_f}.6mA_5mC5hmC.pileup.bed.gz
--regions $genome_regions --threads 20
-o ${modkit_d}/${pod5_f}.6mA_5mC5hmC.genome_regions.stats.tsv > ${modkit_d}/${pod5_f}.6mA_5mC5hmC.genome_regions.stats.tsv.log
_

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionLooking for clarification on inputs and/or outputs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions