Browse Source

上传文件至 'tasks'

master
lizhihui 5 years ago
parent
commit
686af53d72
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      tasks/samtools.wdl
  2. +1
    -1
      tasks/stringtie.wdl

+ 2
- 0
tasks/samtools.wdl View File

@@ -13,6 +13,7 @@ task samtools {
/opt/conda/bin/samtools view -bS ${sam} > ${bam}
/opt/conda/bin/samtools sort -m 1000000000 ${bam} -o ${sorted_bam}
/opt/conda/bin/samtools index ${sorted_bam}
/opt/conda/bin/samtools stats -i 8000 ${sorted_bam} |grep ^IS|cut -f 2- > ${sample_id}.ins_size
>>>

runtime {
@@ -25,6 +26,7 @@ task samtools {
output {
File out_bam = sorted_bam
File out_bam_index = sorted_bam_index
File out_ins_size = ins_size
}

}

+ 1
- 1
tasks/stringtie.wdl View File

@@ -8,7 +8,7 @@ task stringtie {
command <<<
nt=$(nproc)
mkdir ballgown
/opt/conda/bin/stringtie -e -B -p $nt -G ${gtf} -o ballgown/${base}/${base}.gtf -C ${base}.cov.ref.gtf -A ${base}.gene.abundance.txt ${bam}
/opt/conda/bin/stringtie -e -B -p $nt -G ${gtf} -o ballgown/${base}/${base}.gtf -C ${base}.cov.ref.gtf -A ${base}.gene.abundance.txt ${bam} -g ${sample_id}_genecount.csv
>>>
runtime {

Loading…
Cancel
Save