New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle reads with alternative adapters or primer sequences #744
Comments
This functionality doesn’t exist, yet, but I think this is actually issue #561, that is, it would be solved by implementing It would work as follows. The idea is that you write
Note that swapping R1 and R2 is equivalent to swapping the Can you say whether that would give you the result you want? |
Think you very much. The function --revcomp does not work for paired-end reads. I can get the results I want by using cutadapt with several steps. |
I have implemented this now. Please update to Cutadapt 4.6. Then you can use (The release will be available on Bioconda in probably one or two hours.) |
wow, nice, I will update it on conda, thanks. |
Hi,
It's a powerful tools for data analysis.
I have a question when trimming primers from paired-end reads of amplicon. The sequencing data (e.g. forward_reads) likes: AAATTTaaaaaaaaCCCGGG and GGGCCCtttttttttTTTAAA (mixed), I want all output data likes: aaaaaaaa, which means recognizing ‘GGGCCC...TTTAAA’ and reversing complementary sequence.
I must do three steps to achive this, one using -g ^AAATTT -G ^CCCGGG, and another using -g ^CCCGGG -G ^AAATTT, at last combining 1st R1.fq and 2st R2.fq into the last R1.fq.
Can I just use one step commond? -g -g or -g XXX|XXX
Thanks.
The text was updated successfully, but these errors were encountered: