Go to the source code of this file.
Go to the SVN repository for this file.
bool SetTranslExcept (objects::CSeq_feat &cds, const string &comment, bool strict, bool extend, objects::CScope &scope) void ExtendStop (CSeq_loc &loc, TSeqPos len, CScope &scope) bool DoesCodingRegionHaveTerminalCodeBreak (const objects::CCdregion &cdr) CRef< CSeq_loc > GetLastCodonLoc (const CSeq_feat &cds, CScope &scope) bool AddTerminalCodeBreak (CSeq_feat &cds, CScope &scope) bool AdjustProteinFeaturePartialsToMatchCDS (CSeq_feat &new_prot, const CSeq_feat &cds) AdjustProteinFeaturePartialsToMatchCDS A function to change an existing MolInfo to match a coding region. More...AdjustProteinFeaturePartialsToMatchCDS A function to change an existing MolInfo to match a coding region.
Definition at line 398 of file cds_fix.cpp.
References AdjustFeaturePartialFlagForLocation(), eExtreme_Biological, CSeq_feat_Base::GetLocation(), CSeq_loc::IsPartialStart(), CSeq_loc::IsPartialStop(), and CSeq_feat_Base::SetLocation().
Referenced by AdjustForCDSPartials(), CFeatGapInfo::AdjustProteinSeq(), AdjustSingleFeature(), BOOST_AUTO_TEST_CASE(), CProductColumn::GetApplyObjects(), GetRetranslateCDSCommand(), GetSynchronizeProteinPartialsCommand(), CRetranslateCDS::RetranslateCDSCommand(), CExtendCDSToStop::RetranslateCDSCommand(), s_GetProtApplyObjectsFeatures(), CAdjustFeaturesForGaps::x_DoOne(), and CEditObjectSeq_feat::x_HandleCdsProduct().
◆ DemoteCDSToNucSeq() ◆ DoesCodingRegionHaveTerminalCodeBreak() ◆ ExtendCDSToStopCodon()ExtendCDSToStopCodon A function to extend a CDS location to the first in-frame stop codon in the protein translation.
Note that adjustments are not made to the protein sequence in this function, only the location and partialness of the coding region.
Definition at line 835 of file cds_fix.cpp.
References CSeq_loc::Add(), CSeq_loc::Assign(), CSeqVector::begin(), CBioseq_Handle::eCoding_Iupac, eExtreme_Biological, eExtreme_Positional, CCdregion_Base::eFrame_three, CCdregion_Base::eFrame_two, eNa_strand_minus, CScope::GetBioseqHandle(), CSeqFeatData_Base::GetCdregion(), CCdregion_Base::GetCode(), CTrans_table::GetCodonResidue(), CSeq_feat_Base::GetData(), CCdregion_Base::GetFrame(), CSeq_loc::GetId(), CBioseq_Handle::GetInst_Length(), GetLength(), CSeq_feat_Base::GetLocation(), CSeq_loc_CI::GetRangeAsSeq_loc(), CSeq_loc::GetStart(), CSeq_loc::GetStop(), CSeq_loc::GetStrand(), CGen_code_table::GetTransTable(), i, CSeqFeatData_Base::IsCdregion(), CCdregion_Base::IsSetCode(), CSeq_feat_Base::IsSetData(), CCdregion_Base::IsSetFrame(), CSeq_feat_Base::IsSetLocation(), CSeq_loc::IsSetStrand(), len, mod(), CTrans_table::NextCodonState(), CRef< C, Locker >::Reset(), SeqLocExtend(), CSeq_loc::SetInt(), CSeq_feat_Base::SetLocation(), CSeq_loc::SetPartialStop(), CSeq_loc::SetStrand(), and CSeqVector::size().
Referenced by BOOST_AUTO_TEST_CASE().
◆ ExtendStop()Definition at line 197 of file cds_fix.cpp.
References CSeq_loc::Assign(), eExtreme_Biological, eNa_strand_minus, CSeq_loc::fMerge_All, CSeq_loc::fSort, CSeq_loc::GetId(), CSeq_loc::GetStop(), CSeq_loc::GetStrand(), len, Seq_loc_Add(), and CSeq_loc::SetInt().
Referenced by ExtendLocationForTranslExcept(), and SetTranslExcept().
◆ GetGeneticCodeForBioseq()GetGeneticCodeForBioseq A function to construct the appropriate CGenetic_code object to use when constructing a coding region for a given Bioseq (if the default code should not be used).
Definition at line 707 of file cds_fix.cpp.
References CSeqdesc_Base::e_Source, CBioSource::GetGenCode(), CBioSource_Base::GetOrg(), CSeqdesc_Base::GetSource(), CBioSource_Base::IsSetOrg(), and COrg_ref_Base::IsSetOrgname().
Referenced by CBulkCDSAddPanel::AddOneCmd(), CAlignCDSAddPanel::AddOneCommand(), BOOST_AUTO_TEST_CASE(), CEditObjectSeq_feat::CreateWindowImpl(), CMacroFunction_ApplyCDS::TheFunction(), and CImportFeatTable::x_DoImportCDS().
◆ GetIdHashOrValue() ◆ GetLastCodonLoc()Definition at line 138 of file cds_fix.cpp.
References CSeq_id::Assign(), eExtreme_Biological, eNa_strand_minus, CSeq_loc::GetId(), GetLastPartialCodonLength(), CSeq_feat_Base::GetLocation(), CSeq_loc::GetStop(), CSeq_loc::GetStrand(), and CSeq_loc::SetInt().
Referenced by AddTerminalCodeBreak(), IsOverhangOkForTerminalCodeBreak(), and CCdregionValidator::x_ValidateFeatComment().
◆ GetNewLocalProtId() ◆ GetNewProtId() CRef<objects::CSeq_id> GetNewProtId ( objects::CBioseq_Handle bsh, int & offset, string & id_label, bool general_only )Referenced by AddProteinToSeqEntry(), CFeatGapInfo::AdjustForRelevantGapIntervals(), CSplitCDSwithTooManyXs::AdjustSingleCDS(), AdjustSingleFeature(), BOOST_AUTO_TEST_CASE(), CreateTranslatedProteinSequence(), CRemoveSeqId::CRemoveSeqId(), CCmdAddCDS::Execute(), g_InstantiateMissingProteins(), GetProtRefSeqId(), CCdsToMatPeptide::MergeConvert(), PropagateToTarget(), CRetranslateCDS::RetranslateCDSCommand(), TranslateCDSCommand(), CCleanup::WGSCleanup(), CEditObjectSeq_feat::x_HandleCdsProduct(), CSequenceUpdater::x_ImportCDSProduct(), CSequenceUpdater::x_RetranslateImportedCDSProduct(), and CCDSTranslationPanel::x_SetProtein().
◆ GetNewProtIdFromExistingProt() ◆ IsGeneralIdProtPresent() bool IsGeneralIdProtPresent ( objects::CSeq_entry_Handle tse )Referenced by CBlkEdtFeatLocationPanel::AddCommand(), CAddSequences::apply(), CGroupExplode::apply(), CSplitCDSwithTooManyXs::apply(), CConvertSelectedGaps::apply_impl(), CEditSelectedGaps::apply_impl(), CCombineAdjacentGaps::apply_impl(), CRawSeqToDeltaSeqByLoc::apply_impl(), BOOST_AUTO_TEST_CASE(), CRawSeqToDeltaSeqByLoc::ByAssemblyGapFeatures_impl(), ConvertRawToDeltaByNsCommand_impl(), ConvertRawToDeltaByNsHugeFileCmd_impl(), CExtendPartialFeatDlg::ExtendCDS(), IEditingAction::GetActionCommand(), CApplyRNAITSDlg::GetCommand(), CBulkCDSAddPanel::GetCommand(), CCdsFromGeneMrnaExon::GetCommand(), CConvertFeatDlg::GetCommand(), CExtendPartialFeatDlg::GetCommand(), CFixForTransSplicing::GetCommand(), CFuseFeaturesDlg::GetCommand(), CTruncateCDS::GetCommand(), CAlignCDSAddPanel::GetCommand(), CRetranslateCDS::GetCommand(), CEditCdsFrame::GetCommand(), CAdjustFeaturesForGaps::GetCommand_impl(), CEditObjectFeaturePropagate::GetEditCommand(), CCdsToMatPeptide::MergeConvert(), CSubPrep_panel::OnAddSequenceBtnClick(), CEditSequence::OnRetranslate(), CUpdateMultiSeq_Dlg::OnUpdateAllSequenceClick(), CUpdateMultiSeq_Dlg::OnUpdateThisSequenceClick(), CMacroBioData_FeatIterBase::SetCreateGeneralIdFlag(), CMacroFunction_ApplyCDS::TheFunction(), CCleanup::WGSCleanup(), CEditObjectSeq_feat::x_HandleCdsProduct(), CSeqUpdateWorker::x_LaunchSingleUpdateSequence(), and CCDSTranslationPanel::x_SetProtein().
◆ MakemRNAforCDS()MakemRNAforCDS A function to create a CSeq_feat that represents the appropriate mRNA for a given CDS.
Note that this feature is not added to the Seq-annot in the record; this step is left for the caller.
Definition at line 525 of file cds_fix.cpp.
References CSeq_loc::Assign(), eExtreme_Positional, eOverlap_CheckIntervals, NStr::Equal(), CSeqFeatData::eSubtype_3UTR, CSeqFeatData::eSubtype_5UTR, CSeqFeatData::eSubtype_exon, CSeqFeatData::eSubtype_mRNA, CRNA_ref_Base::eType_mRNA, CSeq_loc::fMerge_All, CSeq_loc::fSort, CSeq_feat_Handle::GetAnnot(), GetBestGeneForCds(), CScope::GetBioseqHandle(), CSeq_loc::GetId(), GetLength(), CSeq_feat_Base::GetLocation(), CMappedFeat::GetLocation(), GetOverlappingmRNA(), CScope::GetSeq_featHandle(), CSeq_loc::GetStart(), CSeq_loc::GetStop(), CSeq_loc::IsPartialStart(), CSeq_loc::IsPartialStop(), CSeq_loc::IsReverseStrand(), IsSameBioseq(), CSeq_feat_Base::IsSetLocation(), len, CRef< C, Locker >::Reset(), s_GetmRNAName(), s_GetProductName(), Seq_loc_Add(), CSeq_feat_Base::SetData(), CSeq_feat_Base::SetLocation(), CSeq_feat_Base::SetPartial(), and TestForOverlap64().
Referenced by CDiscrepancyVisitorImpl< _Name >::Autofix(), BOOST_AUTO_TEST_CASE(), and CMRnaForCDS::x_ChkAndMakeMRna().
◆ SetTranslExcept() bool SetTranslExcept ( objects::CSeq_feat & cds, const string & comment, bool strict, bool extend, objects::CScope & scope ) ◆ TruncateCDSAtStop()TruncateCDSAtStop A function to truncate a CDS location after the first stop codon in the protein translation.
Note that adjustments are not made to the protein sequence in this function, only the location and partialness of the coding region.
Definition at line 786 of file cds_fix.cpp.
References eExtreme_Biological, CCdregion_Base::eFrame_three, CCdregion_Base::eFrame_two, NStr::Find(), CSeqFeatData_Base::GetCdregion(), CSeq_feat_Base::GetData(), CCdregion_Base::GetFrame(), CSeq_feat_Base::GetLocation(), CSeq_loc::IsPartialStart(), CCdregion_Base::IsSetFrame(), CSeq_feat_Base::ResetPartial(), CSeq_feat_Base::SetLocation(), CSeq_feat_Base::SetPartial(), CSeq_loc::SetPartialStart(), CSeq_loc::SetPartialStop(), CSeqTranslator::Translate(), CSeqTranslator::TranslateToProtein(), and TruncateSeqLoc().
Referenced by BOOST_AUTO_TEST_CASE(), CTruncateCDS::GetCommand(), and CRetranslateCDS::GetCommand().
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