maxibor / madman

Metagenomic Assembly of Ancient DaMaged reads with Nextflow
MIT License
0 stars 0 forks source link

Add adapter list option #1

Closed maxibor closed 4 years ago

maxibor commented 4 years ago

Give the user the possibility to provide an adapter list

alexhbnr commented 4 years ago

Alternatively, you could rely on a program that allows to have a third adapter sequence that is introduced by the transposase tagmentation step in the Illumina Nextera XT library prep kit. I used trim_galore (https://github.com/FelixKrueger/TrimGalore/blob/master/Docs/Trim_Galore_User_Guide.md), which itself uses cutadapt.

Here some example code:

trim_galore --paired \
                    --quality 10 \
                    --phred33 \
                    --nextera \
                    --gzip \
                    --length 35 \
                    --output_dir {params.outdir} \
                    --basename {wildcards.sample} \
                    --cores {threads} \
                    {input.pe1} {input.pe2}
maxibor commented 4 years ago

AdapterRemoval also has the option to use an file containing a list of adapters --adapter-list

maxibor commented 4 years ago

Now implemented with 51cec64