This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bismark duplicate ID error

Hello,

I have paired end data from an SRA file. I extract it to a single file using SRA tools and trimmed it with trim_galore. Sfter that I used a simple command to do the alignment using bismark. The command just :

bismark <ref genome> <file name>

I use bowtie1 to build the human genome reference.

The problem is after the process, bismark get an error that stated there are duplicate ID. I understand this because my data is paired end and I didn't split it into 2 files using sra-toolkit. Is there anything that I can do or I need to redo all of my work? Thank you

rrbs bismark

1 answer

You really need to split the reads into two files, the trimming with trim_galore is even going to be problematic if you don't do so (the program will run, but you won't be left with a properly interleaved fastq file). Always use the --split-3 option with fastq-dump. Even if you think a dataset is paired-end, it won't hurt to do so.

I have tried it with only use --split-files (before I use --split-spot). The fastq result are 2 files, <filename>_1.fq and <filename>_2.fq. I already trim it using trim galore and use bismark command

bismark <options> -1 <filename>_1.fq -2 <filename>_2.fq

But, there is only 1 bam file as the result and the name is the same as the first fastq file. Is it correct or wrong?

Thank you

That's how it should be. Paired end reads originate from 2 fastq files and are written together to a single BAM file.

Ok, Thank you. It seems it works now. I found out the mapping efficiency is only 13.9%. It's really low. Do you think it's normal or maybe another part is wrong, too? [[Sorry, just read your answer in seqanswer, thank you once again]]

I replied on seqanswers. Let's just keep the conversation there, since it's too confusing to go back and forth.

Log in to answer this question.