Mercurial > repos > rliterman > csp2
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/opt/bbmap-39.01-1/docs/guides/AddAdaptersGuide.txt Tue Mar 18 16:23:26 2025 -0400 @@ -0,0 +1,23 @@ +AddAdapters Guide +Written by Brian Bushnell +Last updated December 22, 2015 + +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. + + +*Usage Examples* + + +To add adapters to reads: +addadapters.sh in=a.fq out=b.fq adapters=adapters.fa + + +To grade trimmed reads: +addadapters.sh in=trimmed.fq grade + + +To use RandomReads instead, to add adapters in the correct location according to insert size: +randomreads.sh ref=ref.fa out=reads.fq len=150 paired reads=100k mininsert=50 maxinsert=350 fragadapter1=ACTG fragadapter2=ACTG +rename.sh in=reads.fq out=renamed.fq renamebytrim interleaved + +The result of this will still be named correctly for grading by addadapters. "ACTG" would normally be a much longer adapter sequence.