Dear All, I hope everyone is doing well. When I run ApplyBQSR some of my samples generate all the chromosomes with MT as indicated below while the other samples came from the same breed with a similar pipeline and missed MT. I am wondering about the output to proceed to the next step. Thank you in advance for your valuable suggestions!
Here is the code I used
gatk ApplyBQSR -R ../reference/Bos_taurus.ARS-UCD1.2.dna.toplevel.fa -I ../data/mapped/ABigar/Abi1_dedup.bam --bqsr-recal-file ../data/mapped/ABigar/AB_haplo/Abi1_recal.table1 -O ../data/mapped/ABigar/AB_haplo/Abi1_recal.bam
the last portion of the result is posted below.
22:40:14.206 INFO ProgressMeter - X:126181720 117.3 211182000 1800853.9
22:40:24.231 INFO ProgressMeter - X:128930737 117.4 211409000 1800224.7
22:40:34.253 INFO ProgressMeter - X:132515206 117.6 211701000 1800150.8
22:40:44.264 INFO ProgressMeter - X:136218098 117.8 211997000 1800113.8
22:40:54.265 INFO ProgressMeter - MT:2801 117.9 212241000 1799638.8
22:41:04.266 INFO ProgressMeter - NKLS02002208.1:4545561 118.1 212535000 1799588.0
22:41:14.268 INFO ProgressMeter - NKLS02000910.1:966969 118.3 212839000 1799621.9
22:41:24.278 INFO ProgressMeter - NKLS02002210.1:706467 118.4 213084000 1799155.7
23:01:39.103 INFO ProgressMeter - NKLS02001671.1:4679 138.7 250021000 1802828.3
23:01:49.105 INFO ProgressMeter - NKLS02001453.1:1923 138.8 250290000 1802601.2
23:01:59.121 INFO ProgressMeter - unmapped 139.0 250614000 1802767.2
23:02:09.153 INFO ProgressMeter - unmapped 139.2 250946000 1802986.9
23:02:19.179 INFO ProgressMeter - unmapped 139.4 251233000 1802884.5
23:02:29.200 INFO ProgressMeter - unmapped 139.5 251575000 1803177.5
23:02:39.225 INFO ProgressMeter - unmapped 139.7 251914000 1803447.6
23:02:49.245 INFO ProgressMeter - unmapped 139.9 252181000 1803203.2
23:02:49.837 WARN IntelInflater - Zero Bytes Written : 0
23:02:49.840 INFO ApplyBQSR - 0 read(s) filtered by: WellformedReadFilter
23:02:49.840 INFO ProgressMeter - unmapped 139.9 252199945 1803210.8
23:02:49.840 INFO ProgressMeter - Traversal complete. Processed 252199945 total reads in 139.9 minutes.
23:02:50.929 INFO ApplyBQSR - Shutting down engine
[22 February 2023 at 23:02:50 CET] org.broadinstitute.hellbender.tools.walkers.bqsr.ApplyBQSR done. Elapsed time: 139.90 minutes.
Runtime.totalMemory()=2579496960
Very naive question but are you sure you have reads on MT in all your alignment files?
Yes of course Rapha! I confirmed it is ok. Now, the question is how to extract only MT and call SNP and indels of MT for diversity study?