Skip to content

Instantly share code, notes, and snippets.

@Cixelyn
Created August 15, 2013 04:45
Show Gist options
  • Save Cixelyn/6238325 to your computer and use it in GitHub Desktop.
Save Cixelyn/6238325 to your computer and use it in GitHub Desktop.
mapping of valid GenBank feature keys to Ontobee sequence ontology
VALID_FEATURE_KEYS = {
"attenuator": {'so': 'http://purl.obolibrary.org/obo/SO_0000140'},
"C_region": {'so': 'http://purl.obolibrary.org/obo/SO_0100015'},
"CAAT_signal": {'so': 'http://purl.obolibrary.org/obo/SO_0000172'},
"CDS": {'so': 'http://purl.obolibrary.org/obo/SO_0000316'},
"centromere": {'so': 'http://purl.obolibrary.org/obo/SO_0000577'},
"D-loop": {'so': 'http://purl.obolibrary.org/obo/SO_0000297'},
"D_segment": {'so': 'http://purl.obolibrary.org/obo/SO_0000458'},
"enhancer": {'so': 'http://purl.obolibrary.org/obo/SO_0000165'},
"exon": {'so': 'http://purl.obolibrary.org/obo/SO_0000147'},
"GC_signal": {'so': 'http://purl.obolibrary.org/obo/SO_0000173'},
"gene": {'so': 'http://purl.obolibrary.org/obo/SO_0000704'},
"iDNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000723'},
"intron": {'so': 'http://purl.obolibrary.org/obo/SO_0000188'},
"J_segment": {'so': 'http://purl.obolibrary.org/obo/SO_0000470'},
"LTR": {'so': 'http://purl.obolibrary.org/obo/SO_0000286'},
"mat_peptide": {'so': 'http://purl.obolibrary.org/obo/SO_0000419'},
"misc_binding": {'so': 'http://purl.obolibrary.org/obo/SO_0001091'},
"misc_difference": {'so': 'http://purl.obolibrary.org/obo/SO_0000413'},
"misc_feature": {'so': 'http://purl.obolibrary.org/obo/SO_0000110'},
"misc_recomb": {'so': 'http://purl.obolibrary.org/obo/SO_0000298'},
"misc_RNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000863'},
"misc_signal": {'so': 'http://purl.obolibrary.org/obo/SO_0005836'},
"misc_structure": {'so': 'http://purl.obolibrary.org/obo/SO_0000142'},
"mobile_element": {'so': 'http://purl.obolibrary.org/obo/SO_0001037'},
"modified_base": {'so': 'http://purl.obolibrary.org/obo/SO_0000305'},
"mRNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000234'},
"ncRNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000655'},
"N_region": {'so': 'http://purl.obolibrary.org/obo/SO_0000563'},
"operon": {'so': 'http://purl.obolibrary.org/obo/SO_0000178'},
"oriT": {'so': 'http://purl.obolibrary.org/obo/SO_0000724'},
"polyA_signal": {'so': 'http://purl.obolibrary.org/obo/SO_0000551'},
"polyA_site": {'so': 'http://purl.obolibrary.org/obo/SO_0000553'},
"precursor_RNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000185'},
"prim_transcript": {'so': 'http://purl.obolibrary.org/obo/SO_0000185'},
"primer_bind": {'so': 'http://purl.obolibrary.org/obo/SO_0005850'},
"promoter": {'so': 'http://purl.obolibrary.org/obo/SO_0000167'},
"protein_bind": {'so': 'http://purl.obolibrary.org/obo/SO_0000410'},
"RBS": {'so': 'http://purl.obolibrary.org/obo/SO_0000552'},
"repeat_region": {'so': 'http://purl.obolibrary.org/obo/SO_0000657'},
"rep_origin": {'so': 'http://purl.obolibrary.org/obo/SO_0000296'},
"rRNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000252'},
"S_region": {'so': 'http://purl.obolibrary.org/obo/SO_0000301'},
"sig_peptide": {'so': 'http://purl.obolibrary.org/obo/SO_0000418'},
"source": {'so': 'http://purl.obolibrary.org/obo/SO_0001260'},
"stem_loop": {'so': 'http://purl.obolibrary.org/obo/SO_0000313'},
"STS": {'so': 'http://purl.obolibrary.org/obo/SO_0000331'},
"TATA_signal": {'so': 'http://purl.obolibrary.org/obo/SO_0000174'},
"telomere": {'so': 'http://purl.obolibrary.org/obo/SO_0000624'},
"terminator": {'so': 'http://purl.obolibrary.org/obo/SO_0000141'},
"tmRNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000584'},
"transit_peptide": {'so': 'http://purl.obolibrary.org/obo/SO_0000725'},
"tRNA": {'so': 'http://purl.obolibrary.org/obo/SO_0000253'},
"unsure": {'so': 'http://purl.obolibrary.org/obo/SO_0001086'},
"V_region": {'so': 'http://purl.obolibrary.org/obo/SO_0000936'},
"V_segment": {'so': 'http://purl.obolibrary.org/obo/SO_0000538'},
"variation": {'so': 'http://purl.obolibrary.org/obo/SO_0001147'},
"3'UTR": {'so': 'http://purl.obolibrary.org/obo/SO_0000205'},
"5'UTR": {'so': 'http://purl.obolibrary.org/obo/SO_0000204'},
"-10_signal": {'so': 'http://purl.obolibrary.org/obo/SO_0000175'},
"-35_signal": {'so': 'http://purl.obolibrary.org/obo/SO_0000176'},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment