-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtranscript_level_expression_pipeline.json
57 lines (56 loc) · 2.56 KB
/
transcript_level_expression_pipeline.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "Transcript-level Abundances pipeline (Human GRCh38)",
"description": "FLENP's template for a pipeline able to estimate the transcript-level abundances of RNA-seq experiments by using Hisat2, SamTools, and StringTie. Output enriched with coverage data for the reference transcripts.",
"author": "Cinaglia et al.",
"url": "",
"help": "",
"pipeline": {
"1": {
"params": "SAMPLES_PATH,GENOME,GRCh38_ANNOTATION,THREADS",
"statement": "foreach OBJ in {{SAMPLES_PATH}}",
"steps": [
{
"name": "Align {{OBJ}} on GRCh38 [.sam]",
"description": "- Output: .sam",
"cmd": "./modules/hisat2 {% if THREADS %}-p {{THREADS}} {% endif %}--dta -x {{GENOME}} -1 {{OBJ}}_1.fq.gz -2 {{OBJ}}_2.fq.gz -S workspace/{{OBJ}}.sam"
},
{
"name": "Sort alignments",
"description": "- Output: .bam",
"cmd": "samtools sort {% if THREADS %}-@ {{THREADS}} {% endif %} workspace/{{OBJ}}.sam -o workspace/{{OBJ}}.bam"
},
{
"name": "Index alignments",
"description": "- Output: .bam",
"cmd": "samtools index {% if THREADS %}-@ {{THREADS}} {% endif %} workspace/{{OBJ}}.bam"
},
{
"name": "Transcript assembly",
"description": "- Output: .gtf",
"cmd": "stringtie {% if THREADS %}-p {{THREADS}} {% endif %} workspace/{{OBJ}}.bam -l {{OBJ}} -G {{GRCh38_ANNOTATION}} -o workspace/{{OBJ}}.gtf --rf -A workspace/{{OBJ}}_gene_abundance.tab"
}
]
},
"2": {
"params": "SAMPLES_LIST",
"steps": [
{
"name": "Merge all transcripts",
"description": "- Output: 'data.gtf'",
"cmd": "stringtie --merge -p 8 -G {{GRCh38_ANNOTATION}} -o workspace/data.gtf {{SAMPLES_LIST}}"
}
]
},
"3": {
"params": "",
"statement": "foreach OBJ in {{SAMPLES_PATH}}",
"steps": [
{
"name": "Estimate transcript-level abundances (tla) in {{OBJ}}",
"description": "- Output: .ta.gtf, and Ballgown folder.",
"cmd": "stringtie -p 8 -e -B -G workspace/data.gtf workspace/{{OBJ}}.bam -o workspace/{{OBJ}}.tla.gtf"
}
]
}
}
}