Description

Standalone version of fieldbioinformatics aligntrim. Soft clips amplicon scheme primer sites in BAM/SAM files.

Input

name:type
description
pattern

meta

:map

Groovy Map containing sample information e.g. [ id:'sample1' ]

samfile

:file

BAM or SAM file containing aligned reads

*.{bam,sam}

scheme_bed

:file

BED file containing amplicon scheme primer locations

*.bed

normalise_depth

:integer

Normalise the read depth to this value

sort_bam

:boolean

Optionally sort the BAM file after trimming

Output

name:type
description
pattern

primertrimmed_bam

meta

:map

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

*.primertrimmed*.bam

:file

BAM file with primer sequences soft clipped

*.primertrimmed*.bam

align_trim_report

meta

:map

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

*.align_trim_report.tsv

:file

TSV report containing full details of primer trimming for each read / read pair

*.align_trim_report.tsv

amp_depth_report

meta

:map

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

*.amp_depth_report.tsv

:file

TSV report containing mean depth per amplicon

*.amp_depth_report.tsv

versions_align_trim

${task.process}

:string

The name of the process

align_trim

:string

The name of the tool

align_trim --version | sed 's/align_trim //'

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The name of the process

align_trim

:string

The name of the tool

align_trim --version | sed 's/align_trim //'

:eval

The expression to obtain the version of the tool

Tools

align_trim
MIT

ARTIC align_trim: A tool for trimming amplicon sequencing primers from aligned reads.