×

nf-core/sourcepredict @ 0.0.0-6c4ed3a

Classifies and predicts the origin of metagenomic samples

Latest version: 0.0.0-6c4ed3a
Total downloads: 9
Source: nf-core/modules
Authors: @MeriamOs
Maintainers: @MeriamOs

Summary

Classifies and predicts the origin of metagenomic samples

Get started

Add the following snippet to your workflow script to include this module.

include { SOURCEPREDICT } from 'nf-core/sourcepredict'

License

MIT License

Process
Name SOURCEPREDICT
Input 5 channels
#1 tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1' ]

kraken_parse file

Sink TAXID count table in csv format

*.csv
sources file

Sources TAXID count table in csv format. Default can be downloaded from https://raw.githubusercontent.com/maxibor/sourcepredict/master/data/modern_gut_microbiomes_sources.csv

*.csv
labels file

Labels for the sources table in csv format. Default can be downloaded from https://raw.githubusercontent.com/maxibor/sourcepredict/master/data/modern_gut_microbiomes_labels.csv

*.csv
taxa_sqlite file

taxa.sqlite file downloaded with ete3 toolkit

taxa.sqlite
taxa_sqlite_traverse_pkl file

taxa.sqlite.traverse.pkl file downloaded with ete3 toolkit

taxa.sqlite.traverse.pkl
Output 4 channels
#1 report tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1', single_end:false ]

*.sourcepredict.csv file

Table containing the predicted proportion of each source in each sample

*.sourcepredict.csv
#2 versions_python tuple
${task.process} string

The name of the process

python string

The name of the tool

python -V | sed "s/Python //g" eval

The expression to obtain the version of the tool

#3 versions_sklearn tuple
${task.process} string

The name of the process

sklearn string

The name of the tool

python -c "import sklearn; print(sklearn.__version__)" eval

The expression to obtain the version of the tool

#4 versions_sourcepredict tuple
${task.process} string

The name of the process

sourcepredict string

The name of the tool

python -c "import sourcepredict; print(sourcepredict.__version__)" eval

The expression to obtain the version of the tool

Tool Description Homepage
sourcepredict Classification and prediction of the origin of metagenomic samples. https://github.com/maxibor/sourcepredict
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:46:56 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fsourcepredict/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/sourcepredict/blobs/sha256:1be281db6391fb3be5c52d867390f51ce4a9da3b5855ef0094d08ce5c8119431
Size 3.0 KB
Checksum sha256:1be281db6391fb3be5c52d867390f51ce4a9da3b5855ef0094d08ce5c8119431
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a