diff --git a/flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/SeqtkSeq.scala b/flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/SeqtkSeq.scala index 4d70cd4dafed0d9dda5dd7a99bc01bb57afb2f6c..ee83649d3781fbefeeaf16550cf3f020f39c2fb6 100644 --- a/flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/SeqtkSeq.scala +++ b/flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/SeqtkSeq.scala @@ -1,11 +1,6 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ - package nl.lumc.sasc.biopet.pipelines.flexiprep +import java.io.File import nl.lumc.sasc.biopet.core.config.Configurable import nl.lumc.sasc.biopet.extensions.Ln @@ -36,3 +31,13 @@ class SeqtkSeq(root: Configurable) extends nl.lumc.sasc.biopet.extensions.seqtk. } } } + +object SeqtkSeq { + def apply(root: Configurable, input:File, output:File, fastqc:Fastqc = null): SeqtkSeq = { + val seqtkSeq = new SeqtkSeq(root) + seqtkSeq.input = input + seqtkSeq.output = output + seqtkSeq.fastqc = fastqc + return seqtkSeq + } +} \ No newline at end of file