Hi Brad,
Thanks for replying to my question. So just to be clear: I am trimming 5' or the read1 (NEB-SE.fa with AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC) using trimmomatic as below:
java -jar trimmomatic-0.36.jar SE -phred33 Ago2.fq ILLUMINACLIP:NEB-SE.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:18
Should I repeat the trimming for 3' adapter as well (with adapter: GATCGTCGGACTGTAGAACTCTGAACGTGTAGATCTCGGTGGTCGCCGTATCATT)? What I have done is I have used trimmomatic to trim read1 and then used shortstack (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3683909/) using all trimmed samples merged together to get the clusters of aligned reads with the genome while also trimming the 9 bases long adapter (AGATCGGAA) using inbuilt function of shortstack as below:
perl ShortStack --readfile merged.fastq --genomefile chromosomes.fasta --bowtie_cores 20 --adapter AGATCGGAA
So are you saying instead of AGATCGGAA I should be trimming the GATCGTCGGACTGTAGAACTCTGAACGTGTAGATCTCGGTGGTCGCCGTATCATT sequence? My data is single end and I still don't understand the relevance of trimming the 3' adapter. I would really appreciate if you could clarify more on this.
It is possible that you may need to do two rounds of trimming. Are there specific directions for this kit as far as the bioinformatic analysis is concerned? I have used a BioO kit which required removal of the adapters followed by a hard trim of a certain number of base pairs from one of the ends leaving ~22-25 bp final miRNA read.
If there are no specific data handling directions, it would help if you draw the structure of the fragment that is generated after the adapters are ligated. It would orient you as to what to expect in the actual sequence and the steps (more than one may be needed) to remove the adapters/extraneous sequence.
Other thing to try is to reduce the value of
kto a smaller numberk=5and re-do the trimming (removemink). It should get the remaining pieces at the ends of the reads. This will require more RAM so allocate 10g to be safe.Thank you so much for your help. I changed the
kparameterk=9and that removed both adapters.I think this thread here why remove adapter just from 3' of the reads and your answer somewhat answers why trimming 3' adaptor only should be fine.