Skip to content

Commit

Permalink
Gunzip genome fasta if RSEM needs reference
Browse files Browse the repository at this point in the history
  • Loading branch information
grst committed Mar 9, 2020
1 parent 758f825 commit 9935175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ if (compressedReference) {
// need to be extracted.
need_star_index = params.aligner == 'star' && !params.star_index
need_hisat2_index = params.aligner == 'hisat2' && !params.hisat2_index
need_aligner_index = need_hisat2_index || need_star_index
need_rsem_ref = !params.skip_rsem && !params.rsem_reference
need_aligner_index = need_hisat2_index || need_star_index || need_rsem_ref
alignment_no_indices = !params.skipAlignment && need_aligner_index
pseudoalignment_no_indices = params.pseudo_aligner == "salmon" && !(params.transcript_fasta || params.salmon_index)
if (params.fasta && (alignment_no_indices || pseudoalignment_no_indices)) {
Expand Down

0 comments on commit 9935175

Please sign in to comment.