Description

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

Input

name:type
description
pattern

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}

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}

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

name:type
description
pattern

tsv

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

versions_ngsbits

${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

Topics

name:type
description
pattern

versions

${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

Tools

ngsbits
MIT

Short-read sequencing tools