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
50feeba1
Commit
50feeba1
authored
10 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Added scala docs
parent
62b94624
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
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/FastqSplitter.scala
+16
-0
16 additions, 0 deletions
.../main/scala/nl/lumc/sasc/biopet/tools/FastqSplitter.scala
with
16 additions
and
0 deletions
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/FastqSplitter.scala
+
16
−
0
View file @
50feeba1
...
...
@@ -23,6 +23,10 @@ import nl.lumc.sasc.biopet.core.config.Configurable
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
import
scala.collection.JavaConversions._
/**
* Queue extension for the FastqSplitter
* @param root Parent object
*/
class
FastqSplitter
(
val
root
:
Configurable
)
extends
BiopetJavaCommandLineFunction
{
javaMainClass
=
getClass
.
getName
...
...
@@ -35,10 +39,20 @@ class FastqSplitter(val root: Configurable) extends BiopetJavaCommandLineFunctio
override
val
defaultVmem
=
"8G"
memoryLimit
=
Option
(
4.0
)
/**
* Generate command to execute
* @return
*/
override
def
commandLine
=
super
.
commandLine
+
required
(
"-I"
,
input
)
+
repeat
(
"-o"
,
output
)
}
object
FastqSplitter
extends
ToolCommand
{
/**
* Arg for commandline program
* @param inputFile input fastq file
* @param outputFile output fastq files
*/
case
class
Args
(
inputFile
:
File
=
null
,
outputFile
:
List
[
File
]
=
Nil
)
extends
AbstractArgs
class
OptParser
extends
AbstractOptParser
{
...
...
@@ -51,6 +65,8 @@ object FastqSplitter extends ToolCommand {
}
/**
* Program will split fastq file in multiple fastq files
*
* @param args the command line arguments
*/
def
main
(
args
:
Array
[
String
])
:
Unit
=
{
...
...
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