×

nf-core/sourcepredict @ 0.0.0-0c7146d

Classifies and predicts the origin of metagenomic samples

Latest version: 0.0.0-0c7146d
Total downloads: 1
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-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 19:15:46 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fsourcepredict/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/sourcepredict/blobs/sha256:31289fe77e93b3942b9cbafd904c6dd0566941472b9e30b207526b3964c427f5
Size 3.0 KB
Checksum sha256:31289fe77e93b3942b9cbafd904c6dd0566941472b9e30b207526b3964c427f5
Downloads 1
Version Date Status Downloads Size Diff