= mapped->
Equals(ref_mapped);
126BOOST_CHECK(mapped->
Equals(ref_mapped));
128cout <<
"Expected mapped location:"<< endl;
130cout <<
"Actual mapped location:"<< endl;
164 bool eq= mapped->
Equals(ref_mapped);
165BOOST_CHECK(mapped->
Equals(ref_mapped));
167cout <<
"Expected mapped alignment:"<< endl;
169cout <<
"Actual mapped alignment:"<< endl;
203 bool eq= mapped->
Equals(ref_mapped);
204BOOST_CHECK(mapped->
Equals(ref_mapped));
206cout <<
"Expected mapped graph:"<< endl;
208cout <<
"Actual mapped graph:"<< endl;
235cout <<
"Basic mapping and truncaction test"<< endl;
247cout <<
" Simple interval"<< endl;
249cout <<
" Simple interval, reversed strand"<< endl;
253cout <<
" Truncated on the right"<< endl;
255cout <<
" Truncated on the right, reversed strand"<< endl;
259cout <<
" Truncated on the left"<< endl;
261cout <<
" Truncated on the left, reversed strand"<< endl;
265cout <<
" Truncated on both ends"<< endl;
267cout <<
" Truncated on both ends, reversed strand"<< endl;
271cout <<
" Minus strand interval"<< endl;
273cout <<
" Minus strand interval, reversed strand"<< endl;
277cout <<
" Minus strand interval, truncated on the right"<< endl;
279cout <<
" Minus strand interval, truncated on the right, reversed strand"<< endl;
283cout <<
" Minus strand interval, truncated on the left"<< endl;
285cout <<
" Minus strand interval, truncated on the left, reversed strand"<< endl;
289cout <<
" Minus strand interval, truncated on both ends"<< endl;
291cout <<
" Minus strand interval, truncated on both ends, reversed strand"<< endl;
294cout <<
" Null seq-loc"<< endl;
297cout <<
" Empty seq-loc"<< endl;
301cout <<
" Whole seq-loc"<< endl;
303cout <<
" Whole seq-loc, reversed strand"<< endl;
307cout <<
" Point"<< endl;
309cout <<
" Point, reversed strand"<< endl;
313cout <<
" Packed-points"<< endl;
315cout <<
" Packed-points, reversed strand"<< endl;
318cout <<
" Bond"<< endl;
320cout <<
" Bond, reversed strand"<< endl;
328cout <<
"Order of mapped intervals, direct"<< endl;
330cout <<
" Mapping plus to plus strand"<< endl;
332cout <<
" Mapping minus to minus strand"<< endl;
335cout <<
"Order of mapped intervals, plus to minus"<< endl;
337cout <<
" Mapping plus to minus strand (src on plus)"<< endl;
339cout <<
" Mapping minus to plus strand (src on plus)"<< endl;
342cout <<
"Order of mapped intervals, minus to plus"<< endl;
344cout <<
" Mapping plus to minus strand (src on minus)"<< endl;
346cout <<
" Mapping minus to plus strand (src on minus)"<< endl;
349cout <<
"Mapping through a mix, direct"<< endl;
351cout <<
" Mapping through a mix, plus to plus strand"<< endl;
353cout <<
" Mapping through a mix, plus to plus strand, with merge"<< endl;
354mapper->SetMergeAbutting();
356mapper->SetMergeNone();
357cout <<
" Mapping through a mix, minus to minus strand"<< endl;
359cout <<
" Mapping through a mix, minus to minus strand, with merge"<< endl;
360mapper->SetMergeAbutting();
362mapper->SetMergeNone();
364cout <<
"Mapping through a mix, plus to minus"<< endl;
366cout <<
" Mapping through a mix, plus to minus strand (src on plus)"<< endl;
368cout <<
" Mapping through a mix, plus to minus (src on plus), with merge"<< endl;
369mapper->SetMergeAbutting();
371mapper->SetMergeNone();
372cout <<
" Mapping through a mix, minus to plus strand (src on plus)"<< endl;
374cout <<
" Mapping through a mix, minus to plus (src on plus), with merge"<< endl;
375mapper->SetMergeAbutting();
377mapper->SetMergeNone();
379cout <<
"Mapping through a mix, minus to plus"<< endl;
381cout <<
" Mapping through a mix, plus to minus strand (src on minus)"<< endl;
383cout <<
" Mapping through a mix, plus to minus strand (src on minus), with merge"<< endl;
384mapper->SetMergeAbutting();
386mapper->SetMergeNone();
387cout <<
" Mapping through a mix, minus to plus strand (src on minus)"<< endl;
389cout <<
" Mapping through a mix, minus to plus strand (src on minus), with merge"<< endl;
390mapper->SetMergeAbutting();
392mapper->SetMergeNone();
399cout <<
"Merging of mapped intervals"<< endl;
410cout <<
" No merging"<< endl;
413cout <<
" No merging, reverse strand mapping"<< endl;
416cout <<
" Merge abutting"<< endl;
419cout <<
" Merge abutting, reverse strand mapping"<< endl;
422cout <<
" Merge contained"<< endl;
425cout <<
" Merge contained, reverse strand mapping"<< endl;
428cout <<
" Merge all"<< endl;
431cout <<
" Merge all, reverse strand mapping"<< endl;
437cout <<
" Minus strand original, no merging"<< endl;
440cout <<
" Minus strand original, no merging, reverse strand mapping"<< endl;
443cout <<
" Minus strand original, merge abutting"<< endl;
446cout <<
" Minus strand original, merge abutting, reverse strand mapping"<< endl;
449cout <<
" Minus strand original, merge contained"<< endl;
452cout <<
" Minus strand original, merge contained, reverse strand mapping"<< endl;
455cout <<
" Minus strand original, merge all"<< endl;
458cout <<
" Minus strand original, merge all, reverse strand mapping"<< endl;
468cout <<
"Mapping from protein to nucleotide"<< endl;
476cout <<
" Simple interval"<< endl;
478cout <<
" Partial on the right"<< endl;
480cout <<
" Original location on minus strand"<< endl;
482cout <<
" Original location on minus strand, partial"<< endl;
485cout <<
" Simple interval, reversed strand"<< endl;
487cout <<
" Partial on the right, reversed strand"<< endl;
489cout <<
" Original location on minus strand, reversed strand"<< endl;
491cout <<
" Original location on minus strand, partial, reversed strand"<< endl;
500cout <<
"Mapping from nucleotide to protein"<< endl;
508cout <<
" Simple interval"<< endl;
510cout <<
" Partial on the right"<< endl;
512cout <<
" Original location on minus strand"<< endl;
514cout <<
" Original location on minus strand, partial"<< endl;
516cout <<
" Shifted nucleotide positions (incomplete codons)"<< endl;
519cout <<
" Simple interval, reversed strand"<< endl;
521cout <<
" Partial on the right, reversed strand"<< endl;
523cout <<
" Original location on minus strand, reversed strand"<< endl;
525cout <<
" Original location on minus strand, partial, reversed strand"<< endl;
527cout <<
" Shifted nucleotide positions (incomplete codons), reversed strand"<< endl;
535cout <<
"Mapping through mix"<< endl;
537mapper->SetMergeAbutting();
538cout <<
" Single interval overlapping all source ranges"<< endl;
540cout <<
" Single interval on minus strand, partial overlapping"<< endl;
543cout <<
"Mapping through mix, reversed strand"<< endl;
545cout <<
" Original sec-loc is the same as mapping source"<< endl;
547cout <<
" Mapping a packed-int"<< endl;
549cout <<
" Mapping a multi-level seq-loc"<< endl;
557cout <<
"Mapping dense-diag alignment"<< endl;
559cout <<
" Single segment"<< endl;
561cout <<
" Unsupported mapped alignment - gaps in dense-diag"<< endl;
564cout <<
"Mapping dense-diag alignment, reverse"<< endl;
566cout <<
" Single segment, reversed strand"<< endl;
574cout <<
"Mapping dense-seg alignments"<< endl;
576cout <<
" Nuc to prot, converted to std-seg (mixed types)"<< endl;
579mapper->MixedAlignsAsSpliced(
true);
580cout <<
" Nuc to prot, converted to spliced-seg (mixed types)"<< endl;
583cout <<
" Unsupported alignment - dense-seg with mixed types"<< endl;
587cout <<
" Setting correct strands in gaps"<< endl;
595cout <<
"Mapping spliced-seg alignments"<< endl;
597cout <<
" Mapping spliced-seg product, nuc to nuc"<< endl;
601cout <<
" Mapping spliced-seg product, nuc to prot"<< endl;
605cout <<
" Mapping spliced-seg product, nuc to prot, reversed strand"<< endl;
609cout <<
" Mapping spliced-seg through multiple ranges"<< endl;
615cout <<
" Trimming indels"<< endl;
617cout <<
" Trimming indels - 2"<< endl;
620cout <<
" Trimming indels - 3"<< endl;
623cout <<
" Trimming indels, minus strand"<< endl;
627cout <<
" Trimming gen-ins - 1"<< endl;
630cout <<
" Trimming gen-ins - 2"<< endl;
633cout <<
" Trimming gen-ins - 3"<< endl;
636cout <<
" Trimming gen-ins - 4"<< endl;
639cout <<
" Trimming gen-ins - 5"<< endl;
642cout <<
" Trimming gen-ins - 6"<< endl;
645cout <<
" Trimming gen-ins - 7"<< endl;
648cout <<
" Trimming gen-ins - 8"<< endl;
656cout <<
"Mapping scores"<< endl;
658cout <<
" Dense-diag - scores are preserved"<< endl;
662cout <<
" Dense-seg, scores are preserved"<< endl;
664cout <<
" Dense-seg - partial mapping, scores are dropped"<< endl;
666cout <<
" Dense-seg - unmapped segment, scores are dropped"<< endl;
668cout <<
" Std-seg, scores are preserved"<< endl;
670cout <<
" Std-seg - partial mapping, scores are dropped"<< endl;
672cout <<
" Std-seg - unmapped segment, scores are dropped"<< endl;
674cout <<
" Packed-seg, scores are preserved"<< endl;
676cout <<
" Packed-seg - partial mapping, scores are dropped"<< endl;
678cout <<
" Packed-seg - unmapped segment, scores are dropped"<< endl;
680cout <<
" Spliced-seg, scores are preserved"<< endl;
682cout <<
" Spliced-seg, partial mapping, scores are dropped"<< endl;
684cout <<
" Spliced-seg, unmapped segment, scores are dropped"<< endl;
692cout <<
"Mapping graphs"<< endl;
694cout <<
" Mapping whole graph"<< endl;
696cout <<
" Partial - skip a range in the middle"<< endl;
698cout <<
" Mapping a graph on minus strand"<< endl;
701cout <<
"Graph mapping, nuc to prot"<< endl;
703cout <<
" Simple graph, using comp=3 to allow mapping"<< endl;
706cout <<
" Unsupported: different original and mapped location lengths"<< endl;
708cout <<
" Unsupported: unknown destination sequence type"<< endl;
716cout <<
"Test mapping alignments to bioseq segments"<< endl;
723cout <<
" Alignment #1, mapping row 1"<< endl;
726cout <<
" Alignment #1, mapping row 2"<< endl;
731cout <<
" Alignment #2, mapping row 1"<< endl;
734cout <<
" Alignment #2, mapping row 2"<< endl;
739cout <<
" Alignment #3, mapping row 1"<< endl;
742cout <<
" Alignment #3, mapping row 2"<< endl;
747cout <<
" Alignment #4, mapping row 1"<< endl;
750cout <<
" Alignment #4, mapping row 2"<< endl;
759cout <<
"Test mapping through alignments"<< endl;
762 const char* titles[] = {
763 " Mapping through dense-diag",
764 " Mapping through dense-seg (with some gaps)",
765 " Mapping through packed-seg (with some gaps)",
766 " Mapping through std-seg",
767 " Mapping through disc",
768 " Mapping through spliced-seg",
769 " Mapping through spliced-seg, reversed strand",
770 " Mapping through sparse-seg" 773 for(
size_t i= 0;
i<
sizeof(titles)/
sizeof(titles[0]);
i++) {
774cout << titles[
i] << endl;
777cout <<
" Whole sequence"<< endl;
779cout <<
" Interval, complete"<< endl;
781cout <<
" Interval, split"<< endl;
830cout <<
"Test mapping with sequence info provider"<< endl;
839unique_ptr<CSeq_loc_Mapper_Base> mapper(
842cout <<
" Test mapping whole, nuc to prot"<< endl;
844cout <<
" Test mapping interval, nuc to prot"<< endl;
852cout <<
"Mapping fuzzes"<< endl;
865cout <<
" Fuzz-from lim lt"<< endl;
867cout <<
" Fuzz-from lim lt, reversed strand"<< endl;
871cout <<
" Fuzz-from lim gt"<< endl;
873cout <<
" Fuzz-from lim gt, reversed strand"<< endl;
877cout <<
" Fuzz-from lim tl"<< endl;
879cout <<
" Fuzz-from lim tl, reversed strand"<< endl;
883cout <<
" Fuzz-from lim tr"<< endl;
885cout <<
" Fuzz-from lim tr, reversed strand"<< endl;
889cout <<
" Fuzz-from alt #1"<< endl;
891cout <<
" Fuzz-from alt #1, reversed strand"<< endl;
895cout <<
" Fuzz-from alt #2"<< endl;
897cout <<
" Fuzz-from alt #2, reversed strand"<< endl;
901cout <<
" Fuzz-from range #1"<< endl;
903cout <<
" Fuzz-from range #1, reversed strand"<< endl;
907cout <<
" Fuzz-from range #2"<< endl;
909cout <<
" Fuzz-from range #2, reversed strand"<< endl;
913cout <<
" Fuzz-from range #3"<< endl;
915cout <<
" Fuzz-from range #3, reversed strand"<< endl;
919cout <<
" Fuzz-from range #4"<< endl;
921cout <<
" Fuzz-from range #4, reversed strand"<< endl;
926cout <<
" Fuzz-to lim lt"<< endl;
928cout <<
" Fuzz-to lim lt, reversed strand"<< endl;
932cout <<
" Fuzz-to lim gt"<< endl;
934cout <<
" Fuzz-to lim gt, reversed strand"<< endl;
938cout <<
" Fuzz-to lim tl"<< endl;
940cout <<
" Fuzz-to lim tl, reversed strand"<< endl;
944cout <<
" Fuzz-to lim tr"<< endl;
946cout <<
" Fuzz-to lim tr, reversed strand"<< endl;
950cout <<
" Fuzz-to alt #1"<< endl;
952cout <<
" Fuzz-to alt #1, reversed strand"<< endl;
956cout <<
" Fuzz-to alt #2"<< endl;
958cout <<
" Fuzz-to alt #2, reversed strand"<< endl;
962cout <<
" Fuzz-to range #1"<< endl;
964cout <<
" Fuzz-to range #1, reversed strand"<< endl;
968cout <<
" Fuzz-to range #2"<< endl;
970cout <<
" Fuzz-to range #2, reversed strand"<< endl;
974cout <<
" Fuzz-to range #3"<< endl;
976cout <<
" Fuzz-to range #3, reversed strand"<< endl;
980cout <<
" Fuzz-to range #4"<< endl;
982cout <<
" Fuzz-to range #4, reversed strand"<< endl;
990cout <<
"Testing sort order of mapped exons"<< endl;
1002cout <<
" Both rows on plus, map genomic to plus, no trim"<< endl;
1005cout <<
" Both rows on plus, map genomic to plus, trim"<< endl;
1008cout <<
" Both rows on plus, map genomic to minus, no trim"<< endl;
1011cout <<
" Both rows on plus, map genomic to minus, trim"<< endl;
1016cout <<
" Both rows on plus, map product to plus, no trim"<< endl;
1019cout <<
" Both rows on plus, map product to plus, trim"<< endl;
1022cout <<
" Both rows on plus, map product to minus, no trim"<< endl;
1025cout <<
" Both rows on plus, map product to minus, trim"<< endl;
1030cout <<
" Genomic on minus, map genomic to minus, no trim"<< endl;
1033cout <<
" Genomic on minus, map genomic to minus, trim"<< endl;
1036cout <<
" Genomic on minus, map genomic to plus, no trim"<< endl;
1039cout <<
" Genomic on minus, map genomic to plus, trim"<< endl;
1044cout <<
" Genomic on minus, map product to plus, no trim"<< endl;
1047cout <<
" Genomic on minus, map product to plus, trim"<< endl;
1050cout <<
" Genomic on minus, map product to minus, no trim"<< endl;
1053cout <<
" Genomic on minus, map product to minus, trim"<< endl;
1058cout <<
" Product on minus, map genomic to plus, no trim"<< endl;
1061cout <<
" Product on minus, map genomic to plus, trim"<< endl;
1064cout <<
" Product on minus, map genomic to minus, no trim"<< endl;
1067cout <<
" Product on minus, map genomic to minus, trim"<< endl;
1072cout <<
" Product on minus, map product to minus, no trim"<< endl;
1075cout <<
" Product on minus, map product to minus, trim"<< endl;
1078cout <<
" Product on minus, map product to plus, no trim"<< endl;
1081cout <<
" Product on minus, map product to plus, trim"<< endl;
1087cout <<
"Testing sort order of mapped exons, local strands"<< endl;
1092cout <<
" Both rows on plus, map genomic to plus"<< endl;
1094cout <<
" Both rows on plus, map genomic to minus"<< endl;
1098cout <<
" Both rows on plus, map product to plus"<< endl;
1100cout <<
" Both rows on plus, map product to minus"<< endl;
1104cout <<
" Genomic on minus, map genomic to minus"<< endl;
1106cout <<
" Genomic on minus, map genomic to plus"<< endl;
1110cout <<
" Genomic on minus, map product to plus"<< endl;
1112cout <<
" Genomic on minus, map product to minus"<< endl;
1116cout <<
" Product on minus, map genomic to plus"<< endl;
1118cout <<
" Product on minus, map genomic to minus"<< endl;
1122cout <<
" Product on minus, map product to minus"<< endl;
1124cout <<
" Product on minus, map product to plus"<< endl;
1132cout <<
"Testing truncation of mix parts"<< endl;
1144cout <<
" Plus, direct, unmapped ranges on the left"<< endl;
1146cout <<
" Plus, reversed, unmapped ranges on the left"<< endl;
1150cout <<
" Plus, direct, unmapped ranges on the right"<< endl;
1152cout <<
" Plus, reversed, unmapped ranges on the right"<< endl;
1156cout <<
" Plus, direct, range truncated on the left"<< endl;
1158cout <<
" Plus, reversed, range truncated on the left"<< endl;
1162cout <<
" Plus, direct, range truncated on the right"<< endl;
1164cout <<
" Plus, reversed, range truncated on the right"<< endl;
1168cout <<
" Minus, direct, unmapped ranges on the left"<< endl;
1170cout <<
" Minus, reversed, unmapped ranges on the left"<< endl;
1174cout <<
" Minus, direct, unmapped ranges on the right"<< endl;
1176cout <<
" Minus, reversed, unmapped ranges on the right"<< endl;
1180cout <<
" Minus, direct, range truncated on the left"<< endl;
1182cout <<
" Minus, reversed, range truncated on the left"<< endl;
1186cout <<
" Minus, direct, range truncated on the right"<< endl;
1188cout <<
" Minus, reversed, range truncated on the right"<< endl;
1196cout <<
"Testing trimming of mapped locations"<< endl;
1211cout <<
" Test stop codon mapping: trimming=off"<< endl;
1212unique_ptr<CSeq_loc_Mapper_Base> mapper(
1218cout <<
" Test stop codon mapping: trimming=on"<< endl;
1227cout <<
" Test stop codon mapping, prot->nuc: trimming=off"<< endl;
1234cout <<
" Test stop codon mapping, prot->nuc: trimming=on"<< endl;
1242cout <<
" Test stop codon trimming on minus strand, nuc->prot"<< endl;
1250cout <<
" Test stop codon trimming on minus strand, prot->nuc"<< endl;
1258cout <<
" Test stop codon non-extension, multi-id destionation"<< endl;
1267cout <<
" Test stop codon non-extension, multi-id source"<< endl;
1271mapper->SetMergeAbutting();
1275cout <<
" Test trimming while mapping to minus strand, nuc->nuc, #1"<< endl;
1284cout <<
" Test trimming while mapping to minus strand, nuc->nuc, #2"<< endl;
1287cout <<
" Test trimming while mapping to minus strand, nuc->nuc, #3"<< endl;
1291cout <<
" Test trimming while mapping to minus strand, prot->nuc, #1"<< endl;
1300cout <<
" Test trimming while mapping to minus strand, prot->nuc, #2"<< endl;
1303cout <<
" Test trimming while mapping to minus strand, prot->nuc, #3"<< endl;
1307cout <<
" Test trimming while mapping from minus strand, nuc->nuc, #1"<< endl;
1316cout <<
" Test trimming while mapping from minus strand, nuc->nuc, #2"<< endl;
1319cout <<
" Test trimming while mapping from minus strand, nuc->nuc, #3"<< endl;
1323cout <<
" Test trimming while mapping from minus strand, nuc->prot, #1"<< endl;
1332cout <<
" Test trimming while mapping from minus strand, nuc->prot, #2"<< endl;
1335cout <<
" Test trimming while mapping from minus strand, nuc->prot, #3"<< endl;
1343cout <<
"Testing frame and incomplete codon trimming"<< endl;
1345 CSeq_locnuc_orig_long, nuc_orig_short, prot_orig_long, prot_orig_short;
1352feat.
Assign(feat_base);
1355 for(
intstr_idx = 0; str_idx < 2; ++str_idx) {
1367 for(
TSeqPosextra_bases = 0; extra_bases < 3; ++extra_bases) {
1368cout <<
" nuc->prot, boundaries, "<<
1369(str_idx ?
"minus":
"plus") <<
1370 ", frame="<< frame <<
1371 ", " " extra bases="<< extra_bases << endl;
1377cout <<
" nuc->prot, position, "<<
1378(str_idx ?
"minus":
"plus") <<
1379 ", frame="<< frame <<
1380 ", " " extra bases="<< extra_bases << endl;
1383cout <<
" prot->nuc, boundaries, "<<
1384(str_idx ?
"minus":
"plus") <<
1385 ", frame="<< frame <<
1386 ", " " extra bases="<< extra_bases << endl;
1392cout <<
" prot->nuc, position, "<<
1393(str_idx ?
"minus":
"plus") <<
1394 ", frame="<< frame <<
1395 ", " " extra bases="<< extra_bases << endl;
User-defined methods of the data storage class.
Seq-loc and seq-align mapper exceptions.
namespace ncbi::objects::
CSeq_loc_Mapper_Base â.
CSeq_loc_Mapper_Options â.
virtual TSeqPos GetSequenceLength(const CSeq_id_Handle &idh)
Get sequence length or kInvalidSeqPos.
void AddSeq(TGi gi, TSeqType seqtype, TSeqPos len)
virtual TSeqType GetSequenceType(const CSeq_id_Handle &idh)
Get information about sequence type (nuc or prot).
map< TGi, TSeqPos > TLenMap
map< TGi, TSeqType > TTypeMap
virtual void CollectSynonyms(const CSeq_id_Handle &id, TSynonyms &synonyms)
Collect all synonyms for the id including the id itself.
container_type::const_iterator const_iterator
const_iterator end() const
const_iterator find(const key_type &key) const
iterator_bool insert(const value_type &val)
unsigned int TSeqPos
Type for sequence locations and lengths.
const TSeqPos kInvalidSeqPos
Define special value for invalid sequence position.
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
#define MSerial_AsnText
I/O stream manipulators â.
virtual bool Equals(const CSerialObject &object, ESerialRecursionMode how=eRecursive) const
Check if both objects contain the same values.
void ResetStrand(void)
Reset the strand on this location.
void SetStrand(ENa_strand strand)
Set the strand for all of the location's ranges.
CRef< CSeq_loc > Map(const CSeq_loc &src_loc)
Map seq-loc.
CSeq_loc_Mapper_Options & SetTrimMappedLocation(bool value=true)
CSeq_loc_Mapper_Base & SetMergeNone(void)
Intervals' merging mode MergeNone and MergeAbutting do not change the order of ranges in the destinat...
CSeq_loc_Mapper_Base & SetTrimSplicedSeg(bool trim)
For mapping spliced-segs only: preserve or trim starting/ending indels.
CSeq_loc_Mapper_Base & SetMergeAbutting(void)
Merge only abutting intervals, keep overlapping.
CSeq_loc_Mapper_Base & SetMergeContained(void)
Merge intervals only if one is completely covered by another.
CSeq_loc_Mapper_Base & SetMergeAll(void)
Merge any abutting or overlapping intervals.
@ eProductToLocation
Map from the feature's product to location.
@ eLocationToProduct
Map from the feature's location to product.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
IO_PREFIX::ifstream CNcbiIfstream
Portable alias for ifstream.
void SetLocation(TLocation &value)
Assign a value to Location data member.
void SetData(TData &value)
Assign a value to Data data member.
void SetFrame(TFrame value)
Assign a value to Frame data member.
@ eFrame_not_set
not set, code uses one
@ eFrame_three
reading frame
where boath are integers</td > n< td ></td > n</tr > n< tr > n< td > tse</td > n< td > optional</td > n< td > String</td > n< td class=\"description\"> TSE option controls what blob is orig
void TestMapping_ThroughMix()
void TestMapping_Spliced()
void TestMapping_NucToProt()
void TestMapper_Sequence_Info()
void TestMapping_Scores()
void TestMapping_ProtToNuc()
void TestMappingSeq_align(CSeq_loc_Mapper_Base &mapper, const CSeq_align &orig, CNcbiIstream &in)
void TestMapping_Dendiag()
void TestMappingSeq_graph_Exception(CSeq_loc_Mapper_Base &mapper, CNcbiIstream &in)
BOOST_AUTO_TEST_CASE(s_TestMapping)
void TestMapping_Merging()
void TestMapper_TruncatedMix()
void TestMapper_ExonPartsOrder()
void TestMapping_Denseg()
void TestMapping_AlignmentsToParts()
void TestMappingSeq_loc_Exception(CSeq_loc_Mapper_Base &mapper, CNcbiIstream &in)
void TestMappingSeq_loc(CSeq_loc_Mapper_Base &mapper, const CSeq_loc &orig, CNcbiIstream &in)
void TestMapping_ThroughAlignments()
CSeq_loc_Mapper_Base * CreateMapperFromSeq_locs(CNcbiIstream &in)
void TestMapper_Trimming()
void TestMapping_Simple()
void TestMappingSeq_graph(CSeq_loc_Mapper_Base &mapper, const CSeq_graph &orig, CNcbiIstream &in)
void TestMappingSeq_align_Exception(CSeq_loc_Mapper_Base &mapper, CNcbiIstream &in)
Defines the CNcbiApplication and CAppException classes for creating NCBI applications.
bool eq(T x_, T y_, T round_)
std::istream & in(std::istream &in_, double &x_)
Utility stuff for more convenient using of Boost.Test library.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4