Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix centrifuge #618

Merged
merged 8 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,16 @@ process {
]
}

withName: CENTRIFUGE {
withName: CENTRIFUGE_CENTRIFUGE {
publishDir = [
path: { "${params.outdir}/Taxonomy/centrifuge/${meta.id}" },
mode: params.publish_dir_mode,
pattern: "*.txt"
]
}

withName: CENTRIFUGE_KREPORT {
ext.prefix = { "${meta.id}_kreport" }
publishDir = [
path: { "${params.outdir}/Taxonomy/centrifuge/${meta.id}" },
mode: params.publish_dir_mode,
Expand All @@ -239,7 +248,16 @@ process {
]
}

withName: KRONA {
withName: KREPORT2KRONA_CENTRIFUGE {
publishDir = [
path: { "${params.outdir}/Taxonomy/${meta.classifier}/${meta.id}" },
mode: params.publish_dir_mode,
pattern: "*.txt",
enabled: false
]
}

withName: KRONA_KTIMPORTTAXONOMY {
publishDir = [
path: { "${params.outdir}/Taxonomy/${meta.classifier}/${meta.id}" },
mode: params.publish_dir_mode,
Expand Down
7 changes: 4 additions & 3 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ More information on the [Centrifuge](https://ccb.jhu.edu/software/centrifuge/) w
<summary>Output files</summary>

- `Taxonomy/centrifuge/[sample]/`
- `report.txt`: Tab-delimited result file. See the [centrifuge manual](https://ccb.jhu.edu/software/centrifuge/manual.shtml#centrifuge-classification-output) for information about the fields
- `kreport.txt`: Classification in the Kraken report format. See the [kraken2 manual](https://github.com/DerrickWood/kraken2/wiki/Manual#output-formats) for more details
- `taxonomy.krona.html`: Interactive pie chart produced by [KronaTools](https://github.com/marbl/Krona/wiki)
- `[sample].kreport.txt`: Classification in the Kraken report format. See the [kraken2 manual](https://github.com/DerrickWood/kraken2/wiki/Manual#output-formats) for more details
- `[sample].report.txt`: Tab-delimited result file. See the [centrifuge manual](https://ccb.jhu.edu/software/centrifuge/manual.shtml#centrifuge-classification-output) for information about the fields
- `[sample].results.txt`: Per read taxonomic classification information. See the [centrifuge manual](https://ccb.jhu.edu/software/centrifuge/manual.shtml#centrifuge-classification-output) for more details
- `[sample].html`: Interactive pie chart produced by [KronaTools](https://github.com/marbl/Krona/wiki)

</details>

Expand Down
31 changes: 31 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@
"git_sha": "5c460c5a4736974abde2843294f35307ee2b0e5e",
"installed_by": ["modules"]
},
"centrifuge/centrifuge": {
"branch": "master",
"git_sha": "9a07a1293d9b818d1e06d0f7b58152f74d462012",
"installed_by": ["modules"]
},
"centrifuge/kreport": {
"branch": "master",
"git_sha": "9a07a1293d9b818d1e06d0f7b58152f74d462012",
"installed_by": ["modules"],
"patch": "modules/nf-core/centrifuge/kreport/centrifuge-kreport.diff"
},
"checkm/lineagewf": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
Expand Down Expand Up @@ -141,6 +152,21 @@
"git_sha": "e06548bfa36ee31869b81041879dd6b3a83b1d57",
"installed_by": ["modules"]
},
"krakentools/kreport2krona": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"krona/kronadb": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"krona/ktimporttaxonomy": {
"branch": "master",
"git_sha": "3f5420aa22e00bd030a2556dfdffc9e164ec0ec5",
"installed_by": ["modules"]
},
"maxbin2": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
Expand Down Expand Up @@ -205,6 +231,11 @@
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"untar": {
"branch": "master",
"git_sha": "5caf7640a9ef1d18d765d55339be751bb0969dfa",
"installed_by": ["modules"]
}
}
},
Expand Down
7 changes: 7 additions & 0 deletions modules/nf-core/centrifuge/centrifuge/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 91 additions & 0 deletions modules/nf-core/centrifuge/centrifuge/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 75 additions & 0 deletions modules/nf-core/centrifuge/centrifuge/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 106 additions & 0 deletions modules/nf-core/centrifuge/centrifuge/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading