Parcourir la source

revise-tophat2

master
stead99 il y a 5 ans
Parent
révision
929d36253e
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. +4
    -3
      tasks/tophat2.wdl

+ 4
- 3
tasks/tophat2.wdl Voir le fichier

@@ -4,12 +4,13 @@ task tophat2 {
String idx_prefix
File read1
File read2
String base = basename(read1, ".fq.gz")
String baseout
String docker
String cluster

command {
tophat2 -p 8 -G ${gtf} -o baseout ${genome_directory}/${idx_prefix} ${read1} ${read2}
tophat2 -p 8 -G ${gtf} -o {base} ${genome_directory}/${idx_prefix} ${read1} ${read2}
}
runtime {
@@ -20,7 +21,7 @@ task tophat2 {
}

output {
File accepted_hits = "${baseout}/${baseout}_accepted_hits.bam"
File unmapped_bam = "${baseout}/${baseout}_unmapped.bam"
File accepted_hits = "${base}/${base}_accepted_hits.bam"
File unmapped_bam = "${base}/${base}_unmapped.bam"
}
}

Chargement…
Annuler
Enregistrer