The frontline support team will be unavailable to answer questions on April 15th and 17th 2019. We will be back soon after. Thank you for your patience and we apologize for any inconvenience!

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,



Sign In or Register to comment.