Entering edit mode
3.7 years ago
DareDevil
★
4.3k
Hi I have list of positions around 2 lakhs and I want to map those regions in gnomad. I tested for one postion uisng tabix. But it extracts other positions as well.
tabix af-only-gnomad.hg38.vcf.gz chr1:10217-10217
output
chr1 10114 . TAACCCTAACCCTAACCCTAACCCTAACCCTAACCCCTAACCCTAACCCTAACCCTAACCCTAACCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCCTAACCCTAACCCTAAACCCTA CAACCCTAACCCTAACCCTAACCCTAACCCTAACCCCTAACCCTAACCCTAACCCTAACCCTAACCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCCTAACCCTAACCCTAAACCCTA,T 36729 PASS AC=9,1;AF=0.0002246,2.496e-05
chr1 10211 . AACCCTAACCCTAACCCTAACCCCTAACCCTAACCCTAAACCCTAAACCCTAACCCTAACCCTAACCCTAACCCTAACCCCAACCCCAACCCCAACCCCAACCCCAACCCCAACCCTAACCCCTAACCCTAACCCTAACCCT A 6206.06 PASS AC=2;AF=5.319e-05
chr1 10217 . A T 20051.80 PASS AC=2;AF=5.288e-05
but I need only following as ouput. Where am I doing wrong?
chr1 10217 . A T 20051.80 PASS AC=2;AF=5.288e-05
Can you check if
tabix af-only-gnomad.hg38.vcf.gz "chr1:10217-10217"
works.I tried the same, but does not work
I just cross checked and this works smoothly. Can you again perform
bgzip
andtabix
to check if indexing was performed accordingly.I have done
bgzip af-only-gnomad.hg38.vcf
followed bytabix -p vcf af-only-gnomad.hg38.vcf.gz
. Then,output: