What Do Marked Reads Mean In An Xsq File?
2
0
Entering edit mode
11.2 years ago
Jordan ★ 1.3k

Hi,

We have xsq files generated in our lab. And I was planning to convert them to .csfasta and .qual files for further analysis, which can be done using XSQTools. In XSQ tools we have a script called convertFromXsq.sh which does exactly that. It has a filter option -f which says that it removes marked reads. I'm not sure what marked reads are and if I should use this option.

Here is the link to the guide (page 9 has the filter option description) -> XSQ Tutorial

Can anyone tell me what it means? Thanks!

solid read • 2.9k views
ADD COMMENT
0
Entering edit mode
11.2 years ago

I assume (this is my assumption so please don't believe it blindly) these are bad reads that didn't pass the quality criteria and were flagged as bad reads. I don't think there should be many of such reads if any present in the xsq file. I have used lifescope quiet a bit and in the end it gives you a statistics table that tells you total reads in the xsq file and how many of these got filtered before the alignment and how many of those that were not filtered got aligned and all other information. I have rarely seen any numbers in the row that mentions the numbers of reads filtered before alignment.

ADD COMMENT
0
Entering edit mode
11.2 years ago
Jordan ★ 1.3k

I think I kinda figured out what filtering here does. Without the -f option, I would get .csfasta files with few reads like this:

>1_44_92_F3    
T..................................................

When I use -f, these kind of sequences/reads are not present in the csfasta file. But does removing these reads make any difference in the further analysis like mapping?

ADD COMMENT
1
Entering edit mode

It wont make any difference in terms of mapping. But in case of paired end or mate pair reads, aligners like BWA, Bowtie want that the reads belonging to a same pair ( whether paired end reads or mate pair reads) should maintain the order in fastq file. In other words, if you remove one read from the pair you should also remove the other pair irrespective of whether it is a good or bad read.

ADD REPLY
1
Entering edit mode

In other words dont remove them. They wont be mapped at all or aligner will remove them for you.

ADD REPLY
0
Entering edit mode

Makes sense. Thanks for the tip. But I use NovoalignCS for mapping. It probably follows the same logic too.

ADD REPLY

Login before adding your answer.

Traffic: 2423 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6