Skip to content

Commit

Permalink
merge dev to the current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyAnderssonLee committed Sep 5, 2024
2 parents 8a42385 + 5e0d556 commit 75efdb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Fixed`

- [#518](https://github.com/nf-core/taxprofiler/pull/518) Fixed a bug where Oxford Nanopore FASTA input files would not be processed (❤️ to @ikarls for reporting, fixed by @jfy133)

### `Dependencies`

| Tool | Previous version | New version |
Expand Down
4 changes: 4 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ While one can include both short-read and long-read data in one run, we recommen

An [example samplesheet](../assets/samplesheet.csv) has been provided with the pipeline.

:::warning
FASTA input will not go through any preprocessing steps, and will go directly to profiling.
:::

### Full database sheet

nf-core/taxprofiler supports multiple databases being classified/profiled against in parallel for each tool.
Expand Down
4 changes: 2 additions & 2 deletions workflows/taxprofiler.nf
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ workflow TAXPROFILER {
.branch { meta, run_accession, instrument_platform, fastq_1, fastq_2, fasta ->
fastq: meta.single_end || fastq_2
return [ meta + [ type: "short" ], fastq_2 ? [ fastq_1, fastq_2 ] : [ fastq_1 ] ]
nanopore: instrument_platform == 'OXFORD_NANOPORE'
nanopore: instrument_platform == 'OXFORD_NANOPORE' && !meta.is_fasta
meta.single_end = true
return [ meta + [ type: "long" ], [ fastq_1 ] ]
fasta: meta.is_fasta
Expand All @@ -145,7 +145,7 @@ workflow TAXPROFILER {
}

// Merge ch_input.fastq and ch_input.nanopore into a single channel
def ch_input_for_fastqc = ch_input.fastq.mix( ch_input.nanopore )
ch_input_for_fastqc = ch_input.fastq.mix( ch_input.nanopore )

// Validate and decompress databases
ch_dbs_for_untar = databases
Expand Down

0 comments on commit 75efdb7

Please sign in to comment.