-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hello,
Thank you for making this program.
I am hoping to resolve some haplotype switch errors in my regions of interest, and I think Methphaser would be very nice to try out.
My regions of intrest are 3-5Mb, and I have a coverage of ~28x.
I also have pacbio hifi-reads from this same sample with a similar coverage, which I would like to try to combine, eventually.
However, first I like to focus on nanopore reads. My pipeline includes base calling the reads with dorado v4.3.0.
Followed by extracting the reads including methylation pattern.
As a reference I use the assembly from the collapsed haplotype.
dorado basecaller sup,5mC_5hm Nanopore.pod5 > Nanopore_pod5.bam
samtools view -b Nanopore_pod5_sort.bam | samtools fastq -T MM,ML - > Nanopore_pod5.fastq
Next I follow the steps from the supplementary table from the Methphaser article.
For CLAIR3 I used the r1041_e82_400bps_sup_v430 model.
Next, I ran Hapcut2 and Whatshap to call haplotype blocks and tag the reads.
samtools view -bF 2304 -o Nanopore_haplotagged_whatshap_primary.bam Nanopore_haplotagged_whatshap.bam
samtools index Nanopore_haplotagged_whatshap_primary.bam
../meth_phaser_parallel -b Nanopore_haplotagged_whatshap_primary.bam -r REF.fasta -g Nanopore_whatshap.gtf -vc Nanopore_hapblocks_sorted.vcf.gz -o Nanopore_methphaser_parallel
../meth_phaser_post_processing -ib Nanopore_haplotagged_whatshap_primary.bam -if Nanopore_methphaser_parallel/ -ov Nanopore_meth-phased.vcf -ob Nanopore_meth-phased/ -vc Nanopore_hapblocks_sorted.vcf.gz
The meth_phaser_parallel is working for so far I can see, however during the meth_phaser_post_processing I receive an error, almost immediately: 0it [00:00, ?it/s]
Could you help me resolve this error?
Is there is something I could improve in the analysis?
Any help is very much appreciated.