1000G mask with VCFtools
1
0
Entering edit mode
10.0 years ago
vitti ▴ 20

Hi all,

I'm trying to apply the 1000 Genomes masks to the phase 3 vcfs using VCFtools with the --mask option. Strangely, my output files are always truncated down to a few hundred KB, whereas they should each span an entire chromosome. I am not sure why this is happening.

I rewrote the mask FASTA files into the format VCFtools requires, simply converting P (= pass) to 0 and everything else to 1. (I also tried using the reverse convention, as the VCFtools documentation for this option is confusing, and tried both --mask and --invert-mask for each of these). I have checked to make sure that all the information in the original FASTA files (number of characters, position of line breaks, etc.) is preserved. Does anyone know what could be causing this problem?

Thanks very much!

vcftools mask 1000genomes • 2.6k views
ADD COMMENT
1
Entering edit mode
10.0 years ago
Adam ★ 1.0k

It's quite possibly a bug. If you send us a smallish example on the vcftools-help mailing list, we'll look into it.

ADD COMMENT
0
Entering edit mode

Great, thank you!

ADD REPLY
0
Entering edit mode

Apparently there was a bug. Has now been fixed in the SVN download version.

ADD REPLY

Login before adding your answer.

Traffic: 2078 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6