public static void appendLocusTadAndGeneIDToMessage(Feature feature, ValidationMessage<Origin> message) {
        if (SequenceEntryUtils.isQualifierAvailable(Qualifier.LOCUS_TAG_QUALIFIER_NAME, feature)) {
            Qualifier locusTag = SequenceEntryUtils.getQualifier(Qualifier.LOCUS_TAG_QUALIFIER_NAME, feature);
            if (locusTag.isValue()) {
                message.appendCuratorMessage("locus tag = " + locusTag.getValue());
            }
        }

        if (SequenceEntryUtils.isQualifierAvailable(Qualifier.GENE_QUALIFIER_NAME, feature)) {
            Qualifier geneName = SequenceEntryUtils.getQualifier(Qualifier.GENE_QUALIFIER_NAME, feature);
            if (geneName.isValue()) {
                message.appendCuratorMessage("gene = " + geneName.getValue());
            }
        }
    }
public static void appendLocusTadAndGeneIDToMessage ( Feature feature , ValidationMessage < Origin > message ) { if ( SequenceEntryUtils . isQualifierAvailable ( Qualifier . LOCUS_TAG_QUALIFIER_NAME , feature ) ) { Qualifier locusTag = SequenceEntryUtils . getQualifier ( Qualifier . LOCUS_TAG_QUALIFIER_NAME , feature ) ; if ( locusTag . isValue ( ) ) { message . appendCuratorMessage ( "locus tag = " + locusTag . getValue ( ) ) ; } } if ( SequenceEntryUtils . isQualifierAvailable ( Qualifier . GENE_QUALIFIER_NAME , feature ) ) { Qualifier geneName = SequenceEntryUtils . getQualifier ( Qualifier . GENE_QUALIFIER_NAME , feature ) ; if ( geneName . isValue ( ) ) { message . appendCuratorMessage ( "gene = " + geneName . getValue ( ) ) ; } } }
If a feature had locus_tag or gene qualifiers - appends the value of these to the message as a curator
comment. Useful for some submitters who want more of a handle on the origin than just a line number.

@param feature
@param message