Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
e995516a
Commit
e995516a
authored
Dec 02, 2014
by
Peter van 't Hof
Browse files
Fix bug on output name
parent
f35b7861
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/BastyGenerateFasta.scala
View file @
e995516a
...
...
@@ -236,7 +236,7 @@ object BastyGenerateFasta extends ToolCommand {
protected
def
writeVariantsOnly
()
{
val
writer
=
new
PrintWriter
(
cmdArgs
.
outputVariants
)
writer
.
println
(
">"
+
cmdArgs
.
sample
Name
)
writer
.
println
(
">"
+
cmdArgs
.
output
Name
)
val
vcfReader
=
new
VCFFileReader
(
cmdArgs
.
inputVcf
,
false
)
for
(
vcfRecord
<-
vcfReader
if
(!
cmdArgs
.
snpsOnly
||
vcfRecord
.
isSNP
))
yield
{
writer
.
print
(
getMaxAllele
(
vcfRecord
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment