×

nf-core/sourcepredict @ 0.0.0-3fc6d40

Classifies and predicts the origin of metagenomic samples

Latest version: 0.0.0-6c4ed3a
Total downloads: 18
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-3fc6d40
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 22 Apr 2026 15:32:23 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fsourcepredict/0.0.0-3fc6d40/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/sourcepredict/blobs/sha256:55f55fdf14df21b86bdb7250e740d36f8871fc24594fc122054474a0591c7a3c
Size 3.0 KB
Checksum sha256:55f55fdf14df21b86bdb7250e740d36f8871fc24594fc122054474a0591c7a3c
Downloads 6
Version Date Status Downloads Size Diff
0.0.0-6c4ed3a