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