Fixed recordOriginalLocation option to work properly
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4932 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
8de33924e8
commit
d9270b2363
|
|
@ -36,7 +36,10 @@ my $unsorted_vcf = "$tmp_prefix.unsorted.vcf";
|
|||
|
||||
# lift over the file
|
||||
print "Lifting over the vcf...";
|
||||
my $cmd = "java -jar $gatk/dist/GenomeAnalysisTK.jar -T LiftoverVariants -R $oldRef.fasta -B:variant,vcf $in -o $unsorted_vcf -chain $chain -dict $newRef.dict -recordOriginalLocation $recordOriginalLocation";
|
||||
my $cmd = "java -jar $gatk/dist/GenomeAnalysisTK.jar -T LiftoverVariants -R $oldRef.fasta -B:variant,vcf $in -o $unsorted_vcf -chain $chain -dict $newRef.dict";
|
||||
if ($recordOriginalLocation) {
|
||||
$cmd .= " -recordOriginalLocation";
|
||||
}
|
||||
system($cmd);
|
||||
|
||||
# we need to sort the lifted over file now
|
||||
|
|
|
|||
Loading…
Reference in New Issue