def main(): 'It runs the script' ingff3_fpath, outgff3_fpath, annots_fhand = get_parameters() mappers = [] mappers.append(create_go_annot_mapper(annots_fhand)) modify_gff3(ingff3_fpath, outgff3_fpath, mappers)
def main(): 'It runs the script' ingff3_fpath, outgff3_fpath, desc_fhand = get_parameters() mappers = [] mappers.append(create_add_description_mapper(desc_fhand)) modify_gff3(ingff3_fpath, outgff3_fpath, mappers)
def main(): 'It runs the script' ingff3_fpath, outgff3_fpath, rels_fhand, database = get_parameters() relations = _get_relations(rels_fhand) mappers = [] mappers.append(create_dbxref_adder(database, relations)) modify_gff3(ingff3_fpath, outgff3_fpath, mappers=mappers)