Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
2a789532
Commit
2a789532
authored
10 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Added Queue wrapper
parent
2b4cb228
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/MergeAlleles.scala
+21
-1
21 additions, 1 deletion
...c/main/scala/nl/lumc/sasc/biopet/tools/MergeAlleles.scala
with
21 additions
and
1 deletion
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/MergeAlleles.scala
+
21
−
1
View file @
2a789532
...
...
@@ -9,11 +9,31 @@ import htsjdk.variant.variantcontext.writer.VariantContextWriterBuilder
import
htsjdk.variant.vcf.VCFFileReader
import
htsjdk.variant.vcf.VCFHeader
import
java.io.File
import
nl.lumc.sasc.biopet.core.BiopetJavaCommandLineFunction
import
nl.lumc.sasc.biopet.core.ToolCommand
import
scala.collection.SortedMap
import
scala.collection.immutable.SortedSet
import
scala.collection.mutable.
{
Map
,
Set
}
import
nl.lumc.sasc.biopet.core.config.Configurable
import
scala.collection.JavaConversions._
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
,
Argument
}
class
MergeAlleles
(
val
root
:
Configurable
)
extends
BiopetJavaCommandLineFunction
{
javaMainClass
=
getClass
.
getName
@Input
(
doc
=
"Input vcf files"
,
shortName
=
"input"
,
required
=
true
)
var
input
:
List
[
File
]
=
Nil
@Output
(
doc
=
"Output fastq files"
,
shortName
=
"output"
,
required
=
true
)
var
output
:
File
=
_
@Argument
var
reference
:
File
=
config
(
"reference"
)
override
def
commandLine
=
super
.
commandLine
+
repeat
(
"-I"
,
input
)
+
required
(
"-o"
,
output
)
+
required
(
"-R"
,
reference
)
}
object
MergeAlleles
extends
ToolCommand
{
case
class
Args
(
inputFiles
:
List
[
File
]
=
Nil
,
outputFile
:
File
=
null
,
reference
:
File
=
null
)
extends
AbstractArgs
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment