methylphase

Documentation for the methylphase toolkit

View the Project on GitHub SorenHeidelbach/methylphase

Example analysis

This walkthrough demonstrates a typical methylphase run on a mod-tagged BAM with motif-driven typing.

Inputs

Steps

1) (Optional) Inspect contigs

   methylphase utils contigs --bam sample.mod.bam

2) (Optional) Extract per-read methylation

   methylphase extract \
     --bam sample.mod.bam \
     --motif-file motifs.tsv \
     --output-dir extract \
     --motif-summary

3) Run the full phase-variants pipeline

   methylphase phase-variants \
     --floria floria/contig/contig.haplosets \
     --bam sample.mod.bam \
     --motif-file motifs.tsv \
     --out phase_variants 

4) Review clustering and model choice

5) Use the imputed outputs

6) Split FASTQs by inferred class for downstream assembly/analysis of each variant: bash methylphase typing split-fastq \ --fastq reads.fastq \ --responsibilities phase_variants/best_responsibilities.tsv \ --output-dir phase_variants/fastq_by_class