Skip to content

Commit

Permalink
Merge pull request #248 from silviamorins/master
Browse files Browse the repository at this point in the history
Move process "convertGFFtoGTF" before "makeSTARindex"
  • Loading branch information
drpatelh committed Jul 8, 2019
2 parents 839daa5 + 626796c commit e23da52
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Pipeline updates

* Moved process "convertGFFtoGTF" before "makeSTARindex" [#215](https://github.com/nf-core/rnaseq/issues/215)
* Add tximport and summarizedexperiment dependency [#171](https://github.com/nf-core/rnaseq/issues/171)
* Appointed changes because of missing output of the multiqc_plots folder [#200](https://github.com/nf-core/rnaseq/issues/200)
* Add Qualimap dependency [#202](https://github.com/nf-core/rnaseq/issues/202)
Expand Down
40 changes: 21 additions & 19 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,27 @@ process get_software_versions {
"""
}

/*
* PREPROCESSING - Convert GFF3 to GTF
*/
if(params.gff){
process convertGFFtoGTF {
tag "$gff"

input:
file gff from gffFile

output:
file "${gff.baseName}.gtf" into gtf_makeSTARindex, gtf_makeHisatSplicesites, gtf_makeHISATindex, gtf_makeBED12,
gtf_star, gtf_dupradar, gtf_featureCounts, gtf_stringtieFPKM

script:
"""
gffread $gff -T -o ${gff.baseName}.gtf
"""
}
}

/*
* PREPROCESSING - Build STAR index
*/
Expand Down Expand Up @@ -434,26 +455,7 @@ if(params.aligner == 'hisat2' && !params.hisat2_index && params.fasta){
"""
}
}
/*
* PREPROCESSING - Convert GFF3 to GTF
*/
if(params.gff){
process convertGFFtoGTF {
tag "$gff"

input:
file gff from gffFile

output:
file "${gff.baseName}.gtf" into gtf_makeSTARindex, gtf_makeHisatSplicesites, gtf_makeHISATindex, gtf_makeBED12,
gtf_star, gtf_dupradar, gtf_featureCounts, gtf_stringtieFPKM

script:
"""
gffread $gff -T -o ${gff.baseName}.gtf
"""
}
}
/*
* PREPROCESSING - Build BED12 file
*/
Expand Down

0 comments on commit e23da52

Please sign in to comment.