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

pre_normalisation_coverage_report

meta

:map

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

*.pre-normalisation.coverage.tsv

:file

TSV report containing per-base coverage depth before normalisation

*.pre-normalisation.coverage.tsv

post_normalisation_coverage_report

meta

:map

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

*.post-normalisation.coverage.tsv

:file

TSV report containing per-base coverage depth after normalisation

*.post-normalisation.coverage.tsv

qc_summary

meta

:map

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

*.summary.tsv

:file

TSV report containing the number of fragments kept and removed for each removal reason

*.summary.tsv

qc_amplicons

meta

:map

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

*.amplicons.tsv

:file

TSV report containing the number of fragments kept and removed for each amplicon in the scheme

*.amplicons.tsv

qc_primer_pairs

meta

:map

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

*.primer_pairs.tsv

:file

TSV report containing counts of each combination of primers matched at the fragment ends

*.primer_pairs.tsv

qc_split_reads

meta

:map

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

*.split_reads.tsv

:file

TSV report containing joins in split (supplementary) alignments, e.g. amplicon chimeras

*.split_reads.tsv

qc_overlaps

meta

:map

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

*.overlaps.tsv

:file

TSV report containing base frequency concordance between neighbouring amplicons in their overlapping regions

*.overlaps.tsv

rejected_bam

meta

:map

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

*.rejected.bam

:file

Unsorted BAM file containing the untrimmed reads removed during trimming, each tagged with the reason for removal (ZR tag)

*.rejected.bam

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.