Open arpit20328 opened 5 months ago
Dear user, you can just put the first part. It will automatically search for the complementary in the paired reads.
@BioH4z my forward and reverse primers sequences are not complementary to each other.
In that case how do I input my adapter sequence in config file ?
Dear @arpit20328 , right now, the tool isn't able for search for two adapters that are not complementary. This could be a nice improvement.
A fast solution is to run the trimming part outside HOME-BIO with cutadapt -a and -A options. If you don't want to install cutadapt you can use my docker biohaz/rna-seq and perform the trimming there.
Another quick solution could be to modify the Script.py file (line 1147) and change the line where cutadapt is called with your specific adapters:
os.system("cutadapt -m 20 -a "AAAGGGTTT" -A "CCCAAAGGG" -j "+n_thread+" -o "+split_output_path+"/2_Fastq_trimmed/"+sample_only_name_a[0]+"_trimmed.fastq -p "+split_output_path+"/2_Fastq_trimmed/"+sample_only_name_b[0]+"_trimmed.fastq "+inputfile_a+" "+inputfile_b)
.
If you do this, you can also leave the custom adapters in the config file and the script will run the ones that you put in the code.
ok thanks @BioH4z . will try
So my data is paired end by Illumina in FASTQ.
I used sequence AAAGGGTTT as my forward primer I used sequence CCCAAAGGG as my reverse primer
How do input it in the adapter sequence input line in the config.txt file ?
I used it as following :
adapter? = AAAGGGTTT CCCAAAGGG
is it correct ? if not please let me know...