Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BICF
Astrocyte
rnaseq
Commits
d3570757
Commit
d3570757
authored
Feb 02, 2019
by
Brandi Cantarel
Browse files
update statanal into bash
parent
422f4fa1
Pipeline
#2915
passed with stage
in 106 minutes
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
workflow/main.nf
View file @
d3570757
...
...
@@ -177,13 +177,13 @@ process geneabund {
publishDir "$params.output", mode: 'copy'
input:
set pair_id, file(sbam) from deduped1
file gtf_file
output:
file("${pair_id}.cts") into counts
file("${pair_id}.cts.summary") into ctsum
file("${pair_id}_stringtie") into strcts
file("${pair_id}.fpkm.txt") into fpkm
"""
bash $baseDir/process_scripts/
diff_exp
/geneabundance.sh -s $params.stranded -g ${gtf_file} -p ${pair_id} -b ${sbam}
bash $baseDir/process_scripts/
genect_rnaseq
/geneabundance.sh -s $params.stranded -g ${gtf_file} -p ${pair_id} -b ${sbam}
"""
}
...
...
@@ -192,6 +192,7 @@ process statanal {
publishDir "$params.output", mode: 'copy'
input:
file count_file from counts.toList()
file count_sum from ctsum.toList()
file newdesign name 'design.txt'
file genenames
file geneset name 'geneset.gmt'
...
...
@@ -204,24 +205,8 @@ process statanal {
file("geneset.shiny.gmt") into gmtfile
when:
script:
if (params.dea == 'skip')
"""
perl $baseDir/scripts/concat_cts.pl -o ./ *.cts
perl $baseDir/scripts/concat_fpkm.pl -o ./ *.fpkm.txt
touch empty.png
touch bg.rda
cp geneset.gmt geneset.shiny.gmt
"""
else
"""
module load R/3.2.1-intel
perl $baseDir/scripts/concat_cts.pl -o ./ *.cts
cp design.txt design.shiny.txt
cp geneset.gmt geneset.shiny.gmt
Rscript $baseDir/scripts/dea.R
Rscript $baseDir/scripts/build_ballgown.R *_stringtie
perl $baseDir/scripts/concat_edgeR.pl *.edgeR.txt
perl $baseDir/scripts/concat_fpkm.pl -o ./ *.fpkm.txt
"""
bash $baseDir/process_scripts/genect_rnaseq/statanal.sh
"""
}
process gatkbam {
...
...
process_scripts
@
cba11424
Compare
7adcb10c
...
cba11424
Subproject commit
7adcb10cc4b0159f22faf630fba29ad31c48bf9d
Subproject commit
cba11424a989582e446c69894a5b166beb132899
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment