NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objects/seqset/Seq_entry.hpp>
#include <objects/seq/Seq_annot.hpp>
#include <objects/seq/Annot_descr.hpp>
#include <objects/seq/so_map.hpp>
#include <objects/seqfeat/Seq_feat.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/User_field.hpp>
#include <objects/general/Dbtag.hpp>
#include <objects/seqfeat/Feat_id.hpp>
#include <objects/seqfeat/Gb_qual.hpp>
#include <objects/seqfeat/RNA_ref.hpp>
#include <objects/seqfeat/RNA_gen.hpp>
#include <objects/seqfeat/Trna_ext.hpp>
#include <objects/seqfeat/Cdregion.hpp>
#include <objects/seqfeat/Imp_feat.hpp>
#include <objects/seqfeat/Genetic_code.hpp>
#include <objects/seqfeat/Code_break.hpp>
#include <objects/seqfeat/SeqFeatXref.hpp>
#include <objects/seqfeat/Org_ref.hpp>
#include <objects/seqfeat/OrgName.hpp>
#include <objects/seqalign/Dense_seg.hpp>
#include <objects/seqalign/Spliced_seg.hpp>
#include <objects/seqalign/Spliced_exon.hpp>
#include <objects/seqalign/Spliced_exon_chunk.hpp>
#include <objects/seqalign/Product_pos.hpp>
#include <objects/seqalign/Seq_align_set.hpp>
#include <objects/seqloc/Seq_loc.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objmgr/feat_ci.hpp>
#include <objmgr/annot_ci.hpp>
#include <objmgr/align_ci.hpp>
#include <objmgr/seqdesc_ci.hpp>
#include <objmgr/mapped_feat.hpp>
#include <objmgr/util/feature.hpp>
#include <objmgr/util/sequence.hpp>
#include <objmgr/util/feature_edit.hpp>
#include <objmgr/util/weight.hpp>
#include <objtools/writers/writer_exception.hpp>
#include <objtools/writers/write_util.hpp>
#include <objects/seqalign/Score_set.hpp>
#include <objtools/writers/gff3_writer.hpp>
#include <objtools/writers/genbank_id_resolve.hpp>
#include <array>
#include <sstream>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | SCompareAlignments |
Macros | |
#define | IS_INSERTION(sf, tf) ( ((sf) & CAlnMap::fSeq) && !((tf) & CAlnMap::fSeq) ) |
#define | IS_DELETION(sf, tf) ( !((sf) & CAlnMap::fSeq) && ((tf) & CAlnMap::fSeq) ) |
#define | IS_MATCH(sf, tf) ( ((sf) & CAlnMap::fSeq) && ((tf) & CAlnMap::fSeq) ) |
Functions | |
USING_SCOPE (objects) | |
void | sGetWrapInfo (const list< CRef< CSeq_interval > > &subInts, CGffFeatureContext &fc, unsigned int &wrapSize, unsigned int &wrapPoint) |
bool | sInheritScores (const CSeq_align &alignFrom, CSeq_align &alignTo) |
string | sBestMatchType (const CSeq_id &source) |
string | s_GetAlignID (const CSeq_align &align) |
bool | s_RangeContains (const CRange< TSeqPos > &range, const TSeqPos pos) |
bool | sGetMethodFromModelEvidence (const CMappedFeat &mf, string &method) |
#define IS_DELETION | ( | sf, | |
tf | |||
) | ( !((sf) & CAlnMap::fSeq) && ((tf) & CAlnMap::fSeq) ) |
Definition at line 89 of file gff3_writer.cpp.
#define IS_INSERTION | ( | sf, | |
tf | |||
) | ( ((sf) & CAlnMap::fSeq) && !((tf) & CAlnMap::fSeq) ) |
Definition at line 87 of file gff3_writer.cpp.
#define IS_MATCH | ( | sf, | |
tf | |||
) | ( ((sf) & CAlnMap::fSeq) && ((tf) & CAlnMap::fSeq) ) |
Definition at line 91 of file gff3_writer.cpp.
string s_GetAlignID | ( | const CSeq_align & | align | ) |
Definition at line 1204 of file gff3_writer.cpp.
References CSeq_align_Base::GetId(), and CSeq_align_Base::IsSetId().
Referenced by CGff3Writer::x_WriteBioseqHandle().
Definition at line 1219 of file gff3_writer.cpp.
References compile_time_bits::range().
Definition at line 203 of file gff3_writer.cpp.
References CSeq_id::eAcc_division_mask, CSeq_id::eAcc_est, CSeq_id::fAcc_prot, and rapidjson::source.
Referenced by CGff3Writer::xAssignAlignmentSplicedType().
bool sGetMethodFromModelEvidence | ( | const CMappedFeat & | mf, |
string & | method | ||
) |
Definition at line 1667 of file gff3_writer.cpp.
References CUser_field_Base::GetData(), CUser_object::GetField(), CWriteUtil::GetModelEvidence(), CUser_field_Base::C_Data::GetStr(), CUser_object::HasField(), CUser_field_Base::IsSetData(), and CUser_field_Base::C_Data::IsStr().
Referenced by CGff3Writer::xAssignFeatureMethod().
void sGetWrapInfo | ( | const list< CRef< CSeq_interval > > & | subInts, |
CGffFeatureContext & | fc, | ||
unsigned int & | wrapSize, | ||
unsigned int & | wrapPoint | ||
) |
Definition at line 96 of file gff3_writer.cpp.
References eNa_strand_minus, CSeq_inst_Base::eTopology_linear, fc, and ctll::front().
Referenced by CGff3Writer::xWriteFeatureCDJVSegment(), CGff3Writer::xWriteFeatureCds(), CGff3Writer::xWriteFeatureProtein(), CGff3Writer::xWriteFeatureRna(), CGff3Writer::xWriteFeatureTrna(), and CGff3Writer::xWriteNucleotideFeatureTransSpliced().
bool sInheritScores | ( | const CSeq_align & | alignFrom, |
CSeq_align & | alignTo | ||
) |
Definition at line 145 of file gff3_writer.cpp.
References CScore_Base::GetId(), CSeq_align_Base::GetScore(), CObject_id_Base::GetStr(), CObject_id_Base::IsId(), CSeq_align_Base::IsSetScore(), CObject_id_Base::IsStr(), CObject_id::Match(), and CSeq_align_Base::SetScore().
Referenced by CGff3Writer::xWriteAlignDisc().
USING_SCOPE | ( | objects | ) |