Skip to content
Snippets Groups Projects
Commit 20fe80d7 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Remove old code

parent 6d9cf7ee
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,6 @@ class BaseCounts(val root: Configurable) extends QScript with Measurement with A
}
//TODO: merges
//TODO heatmaps
//TODO: heatmaps
}
}
......@@ -9,21 +9,6 @@ import org.broadinstitute.gatk.queue.QScript
* Created by pjvan_thof on 1/12/16.
*/
class FragmentsPerGene(val root: Configurable) extends QScript with Measurement with AnnotationGtf {
def bamToCountFile(id: String, bamFile: File): (String, File) = {
//TODO: ID sorting job
val job = new HtseqCount(this)
job.inputAnnotation = annotationGtf
job.inputAlignment = bamFile
job.output = new File(outputDir, s"$name.$id.counts")
job.format = Option("bam")
// We are forcing the sort order to be ID-sorted, since HTSeq-count often chokes when using position-sorting due
// to its buffer not being large enough.
//TODO: ID sorting job
//job.order = Option("name")
id -> job.output
}
def mergeArgs = MergeArgs(List(1), 2, numHeaderLines = 1, fallback = "0")
/** Pipeline itself */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment