Skip to content
Snippets Groups Projects
Commit b5d6e71a authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

Add outputBAMcompression to STAR

parent 50c5d957
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,8 @@ that users understand how the changes affect the new version. ...@@ -11,6 +11,8 @@ that users understand how the changes affect the new version.
version 4.0.0-develop version 4.0.0-develop
--------------------------- ---------------------------
+ Alignment tasks (STAR, Hisat2, BWA) now produce BAM files at level 1
compression.
+ Hisat2 task has added controls for samtools. + Hisat2 task has added controls for samtools.
+ Alignment tasks no longer produce BAM indexes as these are not needed + Alignment tasks no longer produce BAM indexes as these are not needed
by the markduplicates step. by the markduplicates step.
......
...@@ -103,6 +103,7 @@ task Star { ...@@ -103,6 +103,7 @@ task Star {
String? twopassMode = "Basic" String? twopassMode = "Basic"
Array[String]? outSAMattrRGline Array[String]? outSAMattrRGline
String? outSAMunmapped = "Within KeepPairs" String? outSAMunmapped = "Within KeepPairs"
Int outBAMcompression = 1
Int? limitBAMsortRAM Int? limitBAMsortRAM
Int runThreadN = 4 Int runThreadN = 4
...@@ -129,6 +130,7 @@ task Star { ...@@ -129,6 +130,7 @@ task Star {
--outFileNamePrefix ~{outFileNamePrefix} \ --outFileNamePrefix ~{outFileNamePrefix} \
--genomeDir ~{sub(indexFiles[0], basename(indexFiles[0]), "")} \ --genomeDir ~{sub(indexFiles[0], basename(indexFiles[0]), "")} \
--outSAMtype ~{outSAMtype} \ --outSAMtype ~{outSAMtype} \
--outBAMcompression ~{outBAMcompression} \
--readFilesCommand ~{readFilesCommand} \ --readFilesCommand ~{readFilesCommand} \
~{"--outFilterScoreMin " + outFilterScoreMin} \ ~{"--outFilterScoreMin " + outFilterScoreMin} \
~{"--outFilterScoreMinOverLread " + outFilterScoreMinOverLread} \ ~{"--outFilterScoreMinOverLread " + outFilterScoreMinOverLread} \
...@@ -172,6 +174,7 @@ task Star { ...@@ -172,6 +174,7 @@ task Star {
limitBAMsortRAM: {description: "Equivalent to star's `--limitBAMsortRAM` option.", category: "advanced"} limitBAMsortRAM: {description: "Equivalent to star's `--limitBAMsortRAM` option.", category: "advanced"}
runThreadN: {description: "The number of threads to use.", category: "advanced"} runThreadN: {description: "The number of threads to use.", category: "advanced"}
memory: {description: "The amount of memory this job will use.", category: "advanced"} memory: {description: "The amount of memory this job will use.", category: "advanced"}
outBAMcompression: {description: "The compression level of the output BAM.", category: "advanced"}
timeMinutes: {description: "The maximum amount of time the job will run in minutes.", category: "advanced"} timeMinutes: {description: "The maximum amount of time the job will run in minutes.", category: "advanced"}
dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.", category: "advanced"} dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.", category: "advanced"}
} }
......
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