Commit e995516a authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix bug on output name

parent f35b7861
......@@ -236,7 +236,7 @@ object BastyGenerateFasta extends ToolCommand {
protected def writeVariantsOnly() {
val writer = new PrintWriter(cmdArgs.outputVariants)
writer.println(">" + cmdArgs.sampleName)
writer.println(">" + cmdArgs.outputName)
val vcfReader = new VCFFileReader(cmdArgs.inputVcf, false)
for (vcfRecord <- vcfReader if (!cmdArgs.snpsOnly || vcfRecord.isSNP)) yield {
writer.print(getMaxAllele(vcfRecord))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment