浏览代码

Remove sample_id.

tags/v0.2.0
YJC 4 年前
父节点
当前提交
d679a3bdeb
共有 7 个文件被更改,包括 8 次插入15 次删除
  1. +1
    -1
      tasks/ballgown.wdl
  2. +2
    -1
      tasks/count.wdl
  3. +1
    -1
      tasks/fastp.wdl
  4. +1
    -1
      tasks/hisat2.wdl
  5. +1
    -1
      tasks/samtools.wdl
  6. +1
    -1
      tasks/stringtie.wdl
  7. +1
    -9
      workflow.wdl

+ 1
- 1
tasks/ballgown.wdl 查看文件

@@ -1,7 +1,7 @@
task ballgown {
File gene_abundance
Array[File] ballgown
String sample_id
String sample_id=basename(gene_abundance, ".gene.abundance.txt")
String docker
String cluster
String disk_size

+ 2
- 1
tasks/count.wdl 查看文件

@@ -1,6 +1,7 @@
task count {
File gene_abundance
Array[File] ballgown
String sample_id
String sample_id=basename(gene_abundance, ".gene.abundance.txt")
String docker
String cluster
String disk_size

+ 1
- 1
tasks/fastp.wdl 查看文件

@@ -1,7 +1,7 @@
task fastp {
String sample_id
File read1
File read2
String sample_id=sub(basename(read1), "_R1\\.(fastq|fq)\\.gz$", "")
String adapter_sequence
String adapter_sequence_r2
String docker

+ 1
- 1
tasks/hisat2.wdl 查看文件

@@ -3,7 +3,7 @@ task hisat2 {
File Trim_R1
File Trim_R2
String idx_prefix
String sample_id
String sample_id=basename(Trim_R1, "_R1.fastq.gz")
String docker
String cluster
String disk_size

+ 1
- 1
tasks/samtools.wdl 查看文件

@@ -1,6 +1,6 @@
task samtools {
File sam
String sample_id
String sample_id=basename(sam, ".sam")
String bam = sample_id + ".bam"
String sorted_bam = sample_id + ".sorted.bam"
String percent_bam = sample_id + ".percent.bam"

+ 1
- 1
tasks/stringtie.wdl 查看文件

@@ -2,7 +2,7 @@ task stringtie {
File bam
File gtf
String docker
String sample_id
String sample_id=basename(bam, ".sorted.bam")
String cluster
String disk_size
Int minimum_length_allowed_for_the_predicted_transcripts

+ 1
- 9
workflow.wdl 查看文件

@@ -9,7 +9,6 @@ import "./tasks/qualimapRNAseq.wdl" as qualimapRNAseq
import "./tasks/ballgown.wdl" as ballgown
import "./tasks/count.wdl" as count


workflow {{ project_name }} {
File read1
File read2
@@ -17,7 +16,6 @@ workflow {{ project_name }} {
File screen_ref_dir
File fastq_screen_conf
File gtf
String sample_id
String fastp_docker
String adapter_sequence
String adapter_sequence_r2
@@ -79,7 +77,6 @@ workflow {{ project_name }} {

call fastp.fastp as fastp {
input:
sample_id=sample_id,
read1 = read1,
read2 = read2,
docker = fastp_docker,
@@ -101,7 +98,7 @@ workflow {{ project_name }} {
qualified_quality_phred = qualified_quality_phred,
length_required1 = length_required1,
disable_quality_filtering = disable_quality_filtering
}
}

call fastqc.fastqc as fastqc {
input:
@@ -125,7 +122,6 @@ workflow {{ project_name }} {

call hisat2.hisat2 as hisat2 {
input:
sample_id = sample_id,
idx = idx,
idx_prefix = idx_prefix,
Trim_R1 = fastp.Trim_R1,
@@ -144,7 +140,6 @@ workflow {{ project_name }} {

call samtools.samtools as samtools {
input:
sample_id = sample_id,
sam = hisat2.sam,
docker = samtools_docker,
cluster = samtools_cluster,
@@ -171,7 +166,6 @@ workflow {{ project_name }} {

call stringtie.stringtie as stringtie {
input:
sample_id = sample_id,
gtf = gtf,
bam = samtools.out_bam,
docker = stringtie_docker,
@@ -185,7 +179,6 @@ workflow {{ project_name }} {

call ballgown.ballgown as ballgown {
input:
sample_id = sample_id,
docker = ballgown_docker,
cluster = ballgown_cluster,
ballgown = stringtie.ballgown,
@@ -195,7 +188,6 @@ workflow {{ project_name }} {

call count.count as count {
input:
sample_id = sample_id,
docker = count_docker,
cluster = count_cluster,
ballgown = stringtie.ballgown,

正在加载...
取消
保存