Description

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

Input

name:type
description
pattern

meta{:bash}

:map

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

bam{:bash}

:file

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

*.{bam,cram}

bai{:bash}

:file

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

*.{bai,crai}

meta2{:bash}

:map

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

fasta{:bash}

:file

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

*.{fasta,fa,fna}

meta3{:bash}

:map

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

fai{:bash}

:file

The index file from the reference FASTA

*.fai

method{:bash}

:string

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

(xy|hetx|sry)

Output

name:type
description
pattern

tsv{:bash}

meta{:bash}

:map

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

*.tsv{:bash}

:file

An output TSV file containing the results of the gender prediction

*.tsv

versions_ngsbits{:bash}

${task.process}{:bash}

:string

The name of the process

ngsbits{:bash}

:string

The name of the tool

SampleGender --version 2>&1 | sed 's/SampleGender //'{:bash}

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions{:bash}

${task.process}{:bash}

:string

The name of the process

ngsbits{:bash}

:string

The name of the tool

SampleGender --version 2>&1 | sed 's/SampleGender //'{:bash}

:eval

The expression to obtain the version of the tool

Tools

ngsbits
MIT

Short-read sequencing tools