/[v1]/trunk/c++/src/algo/align/util/score_lookup.cpp
ViewVC logotype

Log of /trunk/c++/src/algo/align/util/score_lookup.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 102010 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 18 17:26:51 2024 UTC (6 weeks, 1 day ago) by mozese2
File length: 80057 byte(s)
Diff to previous 102005
Expose gene ID lookup by bioseq handle with no alignment
JIRA GP-37532

Revision 102005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 18 15:12:20 2024 UTC (6 weeks, 1 day ago) by mozese2
File length: 80032 byte(s)
Diff to previous 101661
Fallback for getting geneID; if DBXref not found, use LocusID from data.db
JIRA GP-37532

Revision 101661 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 13:21:24 2024 UTC (3 months, 1 week ago) by dicuccio
File length: 79708 byte(s)
Diff to previous 100118
Introduce new filter predicate: query_subject_overlap
JIRA: PGAP-9042

Revision 100118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 20 14:24:38 2023 UTC (10 months, 1 week ago) by mozese2
File length: 77015 byte(s)
Diff to previous 97646
new tokens for query and subject species
JIRA GP-35725

Revision 97646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 8 15:05:05 2022 UTC (20 months, 3 weeks ago) by dicuccio
File length: 76548 byte(s)
Diff to previous 93320
Fix issues with computation of Shannon's entropy for proteins.
Expose Shannon's entropy and seg_pct as both alignment filter options and as tabular format options
JIRA: PGAP-6650

Revision 93320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 1 13:04:54 2021 UTC (3 years ago) by mozese2
File length: 71608 byte(s)
Diff to previous 90551
Take product strand into account for poly-a score
JIRA GP-30785

Revision 90551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 26 13:00:42 2020 UTC (3 years, 10 months ago) by grichenk
File length: 71256 byte(s)
Diff to previous 89349
More code to use TTaxId. JIRA CXX-10489

Revision 89349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 23 18:38:42 2020 UTC (4 years, 1 month ago) by mozese2
File length: 71237 byte(s)
Diff to previous 89242
New align_format and align_filter tokens
JIRA GP-28521

Revision 89242 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 11 14:16:13 2020 UTC (4 years, 1 month ago) by mozese2
File length: 68797 byte(s)
Diff to previous 88042
Bug in counting non-frame indels for a row
JIRA GP-27659

Revision 88042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 4 15:53:51 2019 UTC (4 years, 5 months ago) by mozese2
File length: 68724 byte(s)
Diff to previous 87864
Clarify help text for gap and frameshift tokens
JIRA GP-27726

Revision 87864 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 15 14:59:58 2019 UTC (4 years, 6 months ago) by mozese2
File length: 68674 byte(s)
Diff to previous 82857
New tokens for counting non-frameshift indels
JIRA GP-27659

Revision 82857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 10 15:02:24 2018 UTC (5 years, 9 months ago) by mozese2
File length: 67715 byte(s)
Diff to previous 78531
If polya is not found, value is 0 rather than NULL
JIRA GP-24596

Revision 78531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 27 16:51:45 2017 UTC (6 years, 10 months ago) by mozese2
File length: 67901 byte(s)
Diff to previous 76711
New tokens for subject coverage
JIRA GP-20257

Revision 76711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 28 19:20:10 2017 UTC (7 years, 2 months ago) by mozese2
File length: 66579 byte(s)
Diff to previous 75914
polya token
JIRA GP-3086

Revision 75914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 28 18:18:03 2016 UTC (7 years, 4 months ago) by dicuccio
File length: 65157 byte(s)
Diff to previous 75912
Add checks around proper retrieval of sequences
JIRA: GP-19440

Revision 75912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 28 17:48:21 2016 UTC (7 years, 4 months ago) by mozese2
File length: 63644 byte(s)
Diff to previous 75892
When calculating frameshifts, no need to look up Bioseq for protein alignments
JIRA GP-19440

Revision 75892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 26 16:07:05 2016 UTC (7 years, 4 months ago) by mozese2
File length: 63721 byte(s)
Diff to previous 70743
frameshift count should only include frameshifts within cdregion
JIRA GP-19371

Revision 70743 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 14 22:21:13 2016 UTC (8 years, 3 months ago) by ucko
File length: 62827 byte(s)
Diff to previous 66827
* Make CBioseq's CSeq_loc-based constructor explicit, resolving
  ambiguity errors between GetId variants in some configurations.
* When constructing a CSeqVector from a CSeq_loc, make sure to pass
  the scope by "value" (really C++ reference) rather than pointer (or
  CRef), as the latter approach inadvertantly relied on implicit
  "conversion" to CBioseq.

JIRA: CXX-7746.

Revision 66827 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 26 17:10:17 2015 UTC (9 years, 1 month ago) by boukn
File length: 62826 byte(s)
Diff to previous 66177
JIRA: GP-11703: Score Lookup can use CScoreBuilder Tie Breaker

Revision 66177 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 9 20:01:18 2015 UTC (9 years, 2 months ago) by dicuccio
File length: 62051 byte(s)
Diff to previous 65423
BLAST score ration changes to make the ratio symmetric

Revision 65423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 1 16:03:55 2014 UTC (9 years, 5 months ago) by chetvern
File length: 61703 byte(s)
Diff to previous 64280
support protein-to-nucleotide alignments (JIRA: GP-10572)

Revision 64280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 1 20:24:07 2014 UTC (9 years, 8 months ago) by mozese2
File length: 68181 byte(s)
Diff to previous 63672
Avoid crash when gene feature has no gene id

Revision 63672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 17 23:30:52 2014 UTC (9 years, 9 months ago) by dicuccio
File length: 68059 byte(s)
Diff to previous 62447
Allow comma as a delimiter
JIRA: GP-9069

Revision 62447 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 17:36:09 2014 UTC (10 years ago) by mozese2
File length: 66402 byte(s)
Diff to previous 62388
min_indel_to_splice token
JIRA GP-4527

Revision 62388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 4 13:07:19 2014 UTC (10 years ago) by mozese2
File length: 62529 byte(s)
Diff to previous 62237
New query_geneid and subject_geneid tokens
JIRA GP-4527

Revision 62237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 27 15:36:39 2014 UTC (10 years, 1 month ago) by mozese2
File length: 61302 byte(s)
Diff to previous 60071
Fix compilation warnings

Revision 60071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 22 13:45:55 2013 UTC (10 years, 6 months ago) by chetvern
File length: 61345 byte(s)
Diff to previous 60032
Use new internal stops finder (JIRA: GP-6216)

Revision 60032 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 18 13:21:57 2013 UTC (10 years, 6 months ago) by chetvern
File length: 61137 byte(s)
Diff to previous 57510
Standardize protpos processing (JIRA: CXX-4415)

Revision 57510 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 15 14:56:10 2013 UTC (11 years, 1 month ago) by mozese2
File length: 62998 byte(s)
Diff to previous 57480
When counting internal stops, translate CDS region over collected mRNA instead of genome, in order to correctly handle frameshifts
JIRA GP-4027

Revision 57480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 13 15:38:25 2013 UTC (11 years, 1 month ago) by mozese2
File length: 62791 byte(s)
Diff to previous 56938
Remove code-breaks introduced by CFeatureGenerator before counting internal stops
JIRA GP-4027

Revision 56938 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 22 15:05:11 2013 UTC (11 years, 3 months ago) by mozese2
File length: 62731 byte(s)
Diff to previous 56936
null value for 5/3exon tokens for spliced-seg unspliced alignment
JIRA GP-1368

Revision 56936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 22 14:53:13 2013 UTC (11 years, 3 months ago) by mozese2
File length: 62609 byte(s)
Diff to previous 56076
New tokens for 5prime and 3prime exons
JIRA GP-1368

Revision 56076 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 26 14:13:44 2012 UTC (11 years, 6 months ago) by mozese2
File length: 58337 byte(s)
Diff to previous 56073
To look for internal stops, translate CDS Seq-feat rather than just its location, so frame is taken into account
JIRA GP-3105

Revision 56073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 26 12:49:22 2012 UTC (11 years, 6 months ago) by dicuccio
File length: 58503 byte(s)
Diff to previous 55830
Use taxonomy fast-path lookup

Revision 55830 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 27 15:41:18 2012 UTC (11 years, 7 months ago) by mozese2
File length: 58425 byte(s)
Diff to previous 55260
Fix bugs in the detection of start and stop codons; correctly handle origin-crossing alignments
JIRA GP-2797

Revision 55260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 1 16:44:09 2012 UTC (11 years, 9 months ago) by dicuccio
File length: 60359 byte(s)
Diff to previous 55129
Revise implementation of start/stop codon detection
JIRA: GP-2552, GP-2544

Revision 55129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 18 19:16:20 2012 UTC (11 years, 9 months ago) by mozese2
File length: 54891 byte(s)
Diff to previous 54949
Always CFeatureGenerator for translating cds
JIRA GP-2468

Revision 54949 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 25 18:19:37 2012 UTC (11 years, 10 months ago) by mozese2
File length: 55181 byte(s)
Diff to previous 54632
Use correct genetic code for genomic sequence when computing cds_internal_stops, start_codon and stop_codon scores
JIRA GP-2374

Revision 54632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 29 19:00:06 2012 UTC (11 years, 11 months ago) by mozese2
File length: 54202 byte(s)
Diff to previous 54627
Generalize start_codon/stop_codon to non-spliced alignment types; don't unnecessarily use CFea
tureGenerator for protein alignments
JIRA GP-2258

Revision 54627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 29 14:05:05 2012 UTC (11 years, 11 months ago) by mozese2
File length: 54260 byte(s)
Diff to previous 54460
Compute start_codon and stop_codon values if it is not pre-computed
JIRA GP-2258

Revision 54460 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 16:54:44 2012 UTC (11 years, 11 months ago) by mozese2
File length: 49973 byte(s)
Diff to previous 54425
When filtering on a AND or OR expression, do the easy nodes first
JIRA GP-2188

Revision 54425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 15:34:29 2012 UTC (11 years, 11 months ago) by whlavina
File length: 49436 byte(s)
Diff to previous 53443
Remove try/catch logic from CScoreBuilderBase.
Added a configurable error mode. Default is
to report, but later, will be changed to throw.
JIRA: GP-2125.

Revision 53443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 17 02:00:45 2012 UTC (12 years, 1 month ago) by dicuccio
File length: 49355 byte(s)
Diff to previous 53213
symmetric_overlap adjustment: handle protein-protein alignments correctly
JIRA: GP-1917

Revision 53213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 14:25:35 2012 UTC (12 years, 2 months ago) by dicuccio
File length: 49277 byte(s)
Diff to previous 52939
Bug fixes for Splcied-seg protein-to-genomic BLAST score

Revision 52939 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 9 13:21:10 2012 UTC (12 years, 2 months ago) by dicuccio
File length: 48733 byte(s)
Diff to previous 52250
Add interface to compute tBLASTn score for ProSplign Spliced-seg alignments
JIRA: GP-1759

Revision 52250 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 12 14:46:14 2011 UTC (12 years, 4 months ago) by mozese2
File length: 40746 byte(s)
Diff to previous 51852
JIRA GP-1710
add start_codon and stop_codon keywords

Revision 51852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 7 15:45:31 2011 UTC (12 years, 5 months ago) by mozese2
File length: 38846 byte(s)
Diff to previous 51637
JIRA GP-1692
Function for counting frame-shifts in an alignment

Revision 51637 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 19 15:29:08 2011 UTC (12 years, 6 months ago) by mozese2
File length: 37722 byte(s)
Diff to previous 51618
JIRA GP-1610
correct handling of exception thrown when computing the symmetric_overlap scores, and handling of protein sequences

Revision 51618 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 18 17:22:03 2011 UTC (12 years, 6 months ago) by mozese2
File length: 37529 byte(s)
Diff to previous 51510
JIRA GP-1610
symmetric_overlap_min score, calculating percent coverage over shorter of sequences

Revision 51510 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 11 13:53:41 2011 UTC (12 years, 6 months ago) by mozese2
File length: 36786 byte(s)
Diff to previous 51452
JIRA GP-1653
Constistently throw exception if score is not found or can't be calculated; handling is up to caller

Revision 51452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 3 17:34:55 2011 UTC (12 years, 7 months ago) by mozese2
File length: 37364 byte(s)
Diff to previous 51445
JIRA GP-1653
fix typo

Revision 51445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 3 17:14:35 2011 UTC (12 years, 7 months ago) by mozese2
File length: 37357 byte(s)
Diff to previous 51433
JIRA GP-1653
Add general check for integer vs. real-value scores

Revision 51433 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 3 14:49:54 2011 UTC (12 years, 7 months ago) by mozese2
File length: 35617 byte(s)
Diff to previous 51415
fix compilation warning on some platforms

Revision 51415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 29 16:47:50 2011 UTC (12 years, 7 months ago) by mozese2
File length: 35618 byte(s)
Diff to previous 51391
JIRA GP-1653
fix bug in help text for unsupported score names

Revision 51391 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 27 18:08:38 2011 UTC (12 years, 7 months ago) by mozese2
File length: 31276 byte(s)
Diff to previous 51382
JIRA GP-1653
Make CScoreLookup a subclass of CScoreBuilder

Revision 51382 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Sep 27 14:03:42 2011 UTC (12 years, 7 months ago) by mozese2
File length: 31116 byte(s)
JIRA GP-1653
refactor extraction and computation of alignment scores and computed tokens into new class, CScoreLookup

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

NCBI Systems Team">NCBI Systems Team
ViewVC Help
Powered by ViewVC 1.1.20  

HHS Vulnerability Disclosure