The chromosome name is different depending on the reference. For example the 1kg reference it doesn't have the "chr" prefix as opposed to the hg19 reference:
This is problematic because the -L used by GATK tools needs to be either -L chr1 or -L 1.
We need a way of accounting for this.
One idea is to simply look at the first fasta header line of the reference and see if chr1 appears.
The chromosome name is different depending on the reference. For example the 1kg reference it doesn't have the "chr" prefix as opposed to the hg19 reference:
hg19:
1kg:
This is problematic because the
-L
used by GATK tools needs to be either-L chr1
or-L 1
. We need a way of accounting for this. One idea is to simply look at the first fasta header line of the reference and see if chr1 appears.