Originally posted by gringer
View Post
Unconfigured Ad
Collapse
X
-
Accuracy and recall aren't interchangeable with sensitivity and specificity. Sensitivity is for binary classifiers and recall is for a database. Suppose you framed your search as a binary classifier, where every object in the database was classified as returned or not returned. Since there are so few returnable objects compared to the ones that are returnable. Sensitivity might as well be irrelevant. IE you could mark everything as not returnable and be 100.00% accurate, since there is only one in three billion correct answers. This is why it makes more sense to frame the evaluation in a relevance framework eg Accuracy Recall.
-
Understood, thanks for the clarification. I don't deny that accuracy and recall work well for what has been done in the paper, it's just that they're not biology-friendly.Originally posted by rskr View PostAccuracy and recall aren't interchangeable with sensitivity and specificity. Sensitivity is for binary classifiers and recall is for a database. Suppose you framed your search as a binary classifier, where every object in the database was classified as returned or not returned. Since there are so few returnable objects compared to the ones that are returnable. Sensitivity might as well be irrelevant. IE you could mark everything as not returnable and be 100.00% accurate, since there is only one in three billion correct answers. This is why it makes more sense to frame the evaluation in a relevance framework eg Accuracy Recall.
FWIW, Medical science uses positive and negative predictive value to account for extreme chances of correct/incorrect clasifications. Wikipedia tells me that PPV is equivalent to precision, while sensitivity is equivalent to recall.
Comment
-
I'm just saying, I wouldn't dumb down the content, just because you think Doctors aren't smart enough to understand. Many people would consider that arrogant. Besides, many patients find it annoying when doctors treat them as objects, which is just one of the pitfalls of using statistics for medical trials outside of the proper domain, where random variables don't represent people.Originally posted by gringer View PostUnderstood, thanks for the clarification. I don't deny that accuracy and recall work well for what has been done in the paper, it's just that they're not biology-friendly.
FWIW, Medical science uses positive and negative predictive value to account for extreme chances of correct/incorrect clasifications. Wikipedia tells me that PPV is equivalent to precision, while sensitivity is equivalent to recall.
Comment
-
Hi Bernt,Originally posted by Bernt.Popp View PostHey Wei,
I am trying to align SOLiD colorspace reads with subread (1.4.0).
The commands used are:
1)
subread-buildindex -c -o human_g1k_v37_decoy human_g1k_v37_decoy.fasta
2)
subread-align -T 16 -I 16 -b -i $ref -r $myfilename".csfasta" -o $mydnaID.$myslide.subread.sam
3) adding readgroup information, sorting and converting to BAM with picard.
Unfortunately either there is some bug in the conversion from colorspace to basespace (option -b) or I am doing something wrong as the alignments are totally messy when viewed in IGV (although the reads seem to be at the right position).
Here is a example with a comparison to CUSHAW2 and novoalignCS alignments:
Do you have any idea what could be wrong?
Also the new Indel feature does not emit any variants for the colorspace exomes analyzed...
Cheers,
Bernt
We found a problem with color base conversion for those reads mapped to negative strand. We are now investigating this and will fix it with a patch.
Thanks for reporting this.
Wei
Comment
-
We have fixed the bug. Please update your Subread with the latest version (1.4.0-p1) and rerun your alignments.Originally posted by shi View PostHi Bernt,
We found a problem with color base conversion for those reads mapped to negative strand. We are now investigating this and will fix it with a patch.
Thanks for reporting this.
Wei
Best,
Wei
Comment
-
Error persists for me, alignment with version 1.4.0-p1:Originally posted by shi View PostWe have fixed the bug. Please update your Subread with the latest version (1.4.0-p1) and rerun your alignments.
Best,
Wei
I did not rebuild the index though, should I?
Maybe the dynamic programming approach described in Li H, Durbin R Bioinformatics (2009) could help in solving the conversion problem?
Cheers,
Bernt
Comment
-
Dear Bernt,
I think the alignment result on SOLiD data has been largely improved in subread-1.4.0-p1. In your screenshot, most reads have the full length or a substantially long part mapped to the reference genome correctly. When I looked closely, I found that the reads with a part mismatched are very likely to have one color in the middle wrong, ruining the remaining part in color->base conversion.
There were also few reads entirely mismatched because Subread on SOLiD data does not compare base by base, but color by color, and it trims off the first two characters from the read before mapping (as what bowtie does). If the first base in the SOLiD read is wrong, the entire read has all its bases distorted.
If you convert those highly mismatched reads into colors, you may find that all these reads matched the genome very well in the color space.
By the way, if the data is from RNA-seq, it may contain junctions that our subjunc program can discover. Subjunc also works on SOLiD reads, so maybe it's worth a try
Cheers,
Yang
Originally posted by Bernt.Popp View PostError persists for me, alignment with version 1.4.0-p1:
I did not rebuild the index though, should I?
Maybe the dynamic programming approach described in Li H, Durbin R Bioinformatics (2009) could help in solving the conversion problem?
Cheers,
BerntLast edited by yangliao; 10-25-2013, 01:57 PM.
Comment
-
Looks like my guess about not correcting colour-space to base-space conversions was correct (but there was an additional reverse-complement bug).Originally posted by yangliao View Post... Subread on SOLiD data does not compare base by base, but color by color, and it trims off the first two characters from the read before mapping (as what bowtie does). If the first base in the SOLiD read is wrong, the entire read has all its bases distorted.
The problem with this "it's almost identical in colour-space" point of view is that people don't live in colour-space when they're looking at genome alignments -- it's just not intuitive when the sequence changes completely half-way through the alignment. Can you really tell me that the following sequences look the same to you?If you convert those highly mismatched reads into colors, you may find that all these reads matched the genome very well in the color space.
Colour-space should only be used as an intermediate data format, and should not be treated as the most correct representation when showing sequences as base space.Code:.31230 ATGATT CGTCGG GCAGCC TACTAA
Last edited by gringer; 10-25-2013, 02:03 PM.
Comment
-
Yes, I agree the color to base conversion caused a lot of trouble for SNP calling although the reads seem to be mapped to the correct locations. I also agree that the color representations of the alignments are not intuitive and it is hard to see if they match with the reference or not.
One way to get around this issue is possibly to convert the color-space reads to base-space reads before carrying out alignments. This may reduce the number of mapped reads, but it should considerably reduce the number of mismatched bases due to the issue with color to base conversion.
Wei
Comment
-
You need to align in colour-space for the reasons I've already mentioned. Basically the base space sequence changes too much. Any base-space alignments would have far too many misses due to small errors in the colour-space sequences.Originally posted by shi View PostOne way to get around this issue is possibly to convert the color-space reads to base-space reads before carrying out alignments. This may reduce the number of mapped reads, but it should considerably reduce the number of mismatched bases due to the issue with color to base conversion
However, when representing an alignment in base-space, you need to consider the base-space representation of the reference sequence, and modify the aligned colour-space sequence to fix any colour-shift errors.
edit: Note that it is always the case that a single colour-space difference between read and reference sequence is an instrument read error, and will cause a base-shift error in any base-space representation. A single SNP will modify two consecutive colours, and an INDEL will shift all subsequent colours (in the same fashion as in base-space) as well as (possibly) changing the colour at the site of the INDEL.Last edited by gringer; 10-25-2013, 10:01 PM.
Comment
Latest Articles
Collapse
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 09-29-2026, 09:51 AM
|
0 responses
22 views
0 reactions
|
Last Post
by SEQadmin2
09-29-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 09-25-2026, 09:06 AM
|
0 responses
42 views
0 reactions
|
Last Post
by SEQadmin2
09-25-2026, 09:06 AM
|
||
|
Started by SEQadmin2, 09-23-2026, 11:05 AM
|
0 responses
33 views
0 reactions
|
Last Post
by SEQadmin2
09-23-2026, 11:05 AM
|
||
|
Started by SEQadmin2, 09-18-2026, 11:37 AM
|
1 response
50 views
0 reactions
|
Last Post
by pekgio
09-21-2026, 02:04 AM
|
Comment