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

Added constructor

parent f99780c7
...@@ -29,6 +29,13 @@ class PrefixFastq(val root: Configurable) extends BiopetJavaCommandLineFunction ...@@ -29,6 +29,13 @@ class PrefixFastq(val root: Configurable) extends BiopetJavaCommandLineFunction
} }
object PrefixFastq extends ToolCommand { object PrefixFastq extends ToolCommand {
def apply(root: Configurable, input: File, outputDir: String): PrefixFastq = {
val prefixFastq = new PrefixFastq(root)
prefixFastq.inputFastq = input
prefixFastq.outputFastq = new File(outputDir, input.getName + ".prefix.fastq")
return prefixFastq
}
case class Args(input: File = null, output: File = null, seq: String = "CATG") extends AbstractArgs case class Args(input: File = null, output: File = null, seq: String = "CATG") extends AbstractArgs
class OptParser extends AbstractOptParser { class OptParser extends AbstractOptParser {
......
Supports Markdown
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