src/etl/helpers/etl_helper.py
def add_agr_prefix_by_species_taxon(identifier, taxon_id):
        """Add AGR prefix by Species Taxon."""
        species_dict = {
            7955: 'ZFIN:',
            6239: 'WB:',
            10090: '',  # No MGI prefix
            10116: '',  # No RGD prefix
            559292: 'SGD:',
            4932: 'SGD:',
            7227: 'FB:',
            9606: '',  # No HGNC prefix
            2697049: ''  # No SARS-CoV-2 prefix
        }

        new_identifier = species_dict[taxon_id] + identifier

        return new_identifier
Add AGR prefix by Species Taxon.
Add AGR prefix by Species Taxon.
Add AGR prefix by Species Taxon .
def add_agr_prefix_by_species_taxon(identifier, taxon_id):
        species_dict = {
            7955: 'ZFIN:',
            6239: 'WB:',
            10090: '',  
            10116: '',  
            559292: 'SGD:',
            4932: 'SGD:',
            7227: 'FB:',
            9606: '',  
            2697049: ''  
        }
        new_identifier = species_dict[taxon_id] + identifier
        return new_identifier
def add_agr_prefix_by_species_taxon ( identifier , taxon_id ) : species_dict = { 7955 : 'ZFIN:' , 6239 : 'WB:' , 10090 : '' , 10116 : '' , 559292 : 'SGD:' , 4932 : 'SGD:' , 7227 : 'FB:' , 9606 : '' , 2697049 : '' } new_identifier = species_dict [ taxon_id ] + identifier return new_identifier
Add AGR prefix by Species Taxon.
Add AGR prefix by Species Taxon .
"""Add AGR prefix by Species Taxon.""" # No MGI prefix # No RGD prefix # No HGNC prefix # No SARS-CoV-2 prefix
identifier
taxon_id