comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/opt/bbmap-39.01-1/docs/guides/AddAdaptersGuide.txt @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 AddAdapters Guide
2 Written by Brian Bushnell
3 Last updated December 22, 2015
4
5 AddAdapters is designed for grading the performance of adapter-trimming tools. It can add adapters to reads, and annotate the reads with their correct post-trimming length; and it can be run on trimmed reads, to calculate the rates of correct and incorrect trimming. However, it does not understand insert size, so for adding adapters to paired reads, it's better to use RandomReads. As such, this is deprecated for paired reads.
6
7
8 *Usage Examples*
9
10
11 To add adapters to reads:
12 addadapters.sh in=a.fq out=b.fq adapters=adapters.fa
13
14
15 To grade trimmed reads:
16 addadapters.sh in=trimmed.fq grade
17
18
19 To use RandomReads instead, to add adapters in the correct location according to insert size:
20 randomreads.sh ref=ref.fa out=reads.fq len=150 paired reads=100k mininsert=50 maxinsert=350 fragadapter1=ACTG fragadapter2=ACTG
21 rename.sh in=reads.fq out=renamed.fq renamebytrim interleaved
22
23 The result of this will still be named correctly for grading by addadapters. "ACTG" would normally be a much longer adapter sequence.