// ============================================================================ string CGtfRecord::x_CdsToProteinId( CMappedFeat mapped_feature ) // ============================================================================ { if ( mapped_feature.IsSetProduct() ) { return mapped_feature.GetProduct().GetId()->GetSeqIdString( true ); } return ""; }
// ============================================================================= string CGtfRecord::x_MrnaToTranscriptId( CMappedFeat mapped_feature ) // ============================================================================ { if ( mapped_feature.IsSetProduct() ) { return mapped_feature.GetProduct().GetId()->GetSeqIdString( true ); } else { return x_GenericTranscriptId( mapped_feature ); } }