bam_taps_conversion
Uses rastair to assess C->T conversion as a readout for methylation in a genome-wide basis, with rastair 0.8 (default) or rastair version 2
Description
Uses rastair to assess C->T conversion as a readout for methylation in a genome-wide basis, with rastair 0.8 (default) or rastair version 2
Input
Run rastair version 2 (rastair2/mbias for paired-end samples, then rastair2/call
with its cutoffs, and bcftools/stats) instead of rastair 0.8
(rastair/mbias, rastair/mbiasparser, rastair/call, rastair/methylkit).
rastair version 2 is free for non-commercial use only (University of Oxford licence);
the outputs of the caller that was not run are empty channels.
Bases to ignore at read ends instead of the M-bias estimate, as
[ nOT, nOB ], each r1_start,r1_end,r2_start,r2_end (for example
[ '0,0,10,0', '0,0,10,0' ]). With [], rastair estimates them: rastair 0.8
with rastair/mbias and rastair/mbiasparser, rastair version 2 with
rastair2/mbias (paired-end samples; single-end samples are not trimmed).
When set, the M-bias steps are skipped for both callers.
Output
File describing the molecular bias (MBIAS) of the TAPS conversion
Structure: [ val(meta), path(mbias) ]
*.txtRastair call output files (similar to bed format, genome-wide)
Structure: [ val(meta), path(call) ]
*.txtRastair call output files in MethylKit format (similar to bed format, genome-wide)
Structure: [ val(meta), path(methylkit) ]
*.gzrastair version 2 VCF with per-position methylation and genotype calls
Structure: [ val(meta), path(vcf) ]
*.vcf.gzbcftools stats of the rastair version 2 VCF (MultiQC input)
Structure: [ val(meta), path(stats) ]
*stats.txtrastair version 2 M-bias report (paired-end samples only)
Structure: [ val(meta), path(html) ]
*.mbias.htmlBases to ignore at read ends, as used by rastair version 2 call (paired-end
samples only): line 1 is --nOT, line 2 --nOB. When mbias reports several
contigs, the longest one is used; restrict it with --region in the
RASTAIR2_MBIAS ext.args to choose (and to keep memory down on large genomes).
Structure: [ val(meta), path(cutoffs) ]
*.cutoffs.txt