s/python/python2/
authorTom Clegg <tom@tomclegg.ca>
Thu, 12 Mar 2020 03:26:11 +0000 (23:26 -0400)
committerTom Clegg <tom@tomclegg.ca>
Thu, 12 Mar 2020 03:26:11 +0000 (23:26 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

vcf2fasta.go

index d6cc9bba1cd83baddf12d0b2173e1b8c67a89c82..2d4cff31e352c476cb719ad637edde968365a84a 100644 (file)
@@ -224,7 +224,7 @@ func (cmd *vcf2fasta) vcf2fasta(infile string, phase int) error {
                        return errors.New("cannot apply mask without -genome argument")
                }
                var regions bytes.Buffer
-               bedargs := []string{"python", "-", "--gvcf_type", "gatk", infile}
+               bedargs := []string{"python2", "-", "--gvcf_type", "gatk", infile}
                bed := exec.Command(bedargs[0], bedargs[1:]...)
                bed.Stdin = bytes.NewBuffer(cmd.gvcfRegionsPyData)
                bed.Stdout = &regions