We've moved!
This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!

Selec a fraction of variants of a specific chromosome

diego3ddiego3d santiagoMember

Hi all,

I am using the following expression to select variants from my VCF file:

"
java -jar GenomeAnalysisTK.jar \
-T SelectVariants \
-R reference.fasta \
-V input.vcf \
-o output.vcf \
-L _chromosme_x_
-fraction 0.5
"

I am wondering if the expression above will extract the 50% of variants of the chromosome_x or will extract the 50% of all the variants in the VCF and then it will print those that fall in the chromosome_x . I suspect the first behaviour is the correct (it is what I need), but I am asking to be sure.

Thanks in advance,

Diego.

Answers

Sign In or Register to comment.