Skip to content
Snippets Groups Projects
Commit 67f2dce5 authored by Cats's avatar Cats
Browse files

fix star index

parent 51a995a1
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ version 1.0
task Hisat2 {
input {
Array[File] indexFiles
Array[File]+ indexFiles
File inputR1
File? inputR2
String outputBam
......
......@@ -2,9 +2,9 @@ version 1.0
task Star {
input {
Array[File] inputR1
Array[File]+ inputR1
Array[File]? inputR2
File genomeDir
Array[File]+ indexFiles
String outFileNamePrefix
String outSAMtype = "BAM SortedByCoordinate"
String readFilesCommand = "zcat"
......@@ -28,7 +28,7 @@ task Star {
STAR \
--readFilesIn ~{sep=',' inputR1} ~{sep="," inputR2} \
--outFileNamePrefix ~{outFileNamePrefix} \
--genomeDir ~{genomeDir} \
--genomeDir ~{sub(indexFiles[0], basename(indexFiles[0]), "")} \
--outSAMtype ~{outSAMtype} \
--readFilesCommand ~{readFilesCommand} \
~{"--outSAMunmapped " + outSAMunmapped} \
......
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