Skip to content

Commit

Permalink
correct my mistake in submission channel modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Rowell authored and Jessica Rowell committed Apr 9, 2024
1 parent 905f122 commit ad8c447
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions subworkflows/local/submission.nf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ workflow INITIAL_SUBMISSION {
// drop fasta_path from ch
submission_ch = submission_ch
.map {
it -> [it[0], it[1], it[3], it[4]]
meta, _, fq1, fq2 -> [meta, fq1, fq2]
}
SUBMISSION_SRA ( submission_ch, submission_config )

Expand All @@ -51,7 +51,8 @@ workflow INITIAL_SUBMISSION {
// drop fastq paths
submission_ch = submission_ch
.map {
meta, _, fq1, fq2 -> [meta, fq1, fq2]
it -> [it[0], it[1], it[2], it[5]] // meta, fasta, gff
//meta, fasta, _, _, gff -> [meta, fasta, gff] // duplicate underscore error
}
SUBMISSION_GENBANK ( submission_ch, submission_config )

Expand Down

0 comments on commit ad8c447

Please sign in to comment.