×

nf-core/ngsbits/samplegender @ 0.0.0-0c7146d

Determines the gender of a sample from the BAM/CRAM file.

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

Summary

Determines the gender of a sample from the BAM/CRAM file.

Get started

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

include { NGSBITS_SAMPLEGENDER } from 'nf-core/ngsbits/samplegender'

License

MIT License

Process
Name NGSBITS_SAMPLEGENDER
Input 4 channels
#1 tuple
meta map

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

bam file

One or more BAM/CRAM files to determine the gender of

*.{bam,cram}
bai file

The index file(s) from the input BAM/CRAM file(s)

*.{bai,crai}
#2 tuple
meta2 map

Groovy Map containing reference fasta information e.g. [ id:'test' ]

fasta file

The reference FASTA to use (mandatory when CRAM files are used)

*.{fasta,fa,fna}
#3 tuple
meta3 map

Groovy Map containing reference fasta information e.g. [ id:'test' ]

fai file

The index file from the reference FASTA

*.fai
method string

The method to use to define the gender (possibilities are 'xy', 'hetx' and 'sry')

(xy|hetx|sry)
Output 2 channels
#1 tsv tuple
meta map

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

*.tsv file

An output TSV file containing the results of the gender prediction

*.tsv
#2 versions_ngsbits tuple
${task.process} string

The name of the process

ngsbits string

The name of the tool

SampleGender --version 2>&1 | sed 's/SampleGender //' eval

The expression to obtain the version of the tool

Tool Description Homepage
ngsbits Short-read sequencing tools https://github.com/imgag/ngs-bits
Version 0.0.0-0c7146d
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 08 Apr 2026 19:21:22 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fngsbits%2Fsamplegender/0.0.0-0c7146d/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/ngsbits/samplegender/blobs/sha256:a885b85738add8f46a7cc73b8e80b45014302c963c62177872fe4e3a4b7d79d2
Size 2.5 KB
Checksum sha256:a885b85738add8f46a7cc73b8e80b45014302c963c62177872fe4e3a4b7d79d2
Downloads 2
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:33:08 (UTC) 4 2.5 KB
0.0.0-0c7146d 08 Apr 2026 19:21:22 (UTC) 2 2.5 KB