obophenotype / ncbitaxon

Build for NCBITaxon
BSD 3-Clause "New" or "Revised" License
24 stars 7 forks source link

add namespace #8

Open ybradford opened 7 years ago

ybradford commented 7 years ago

@cmungall would it be possible to add the namespace to the header of the ncbi taxon file? our loaders are unable to load without the namespace.

thanks, Yvonne

cmungall commented 7 years ago

Note the default-namespace: tag is just shorthand for having individual namespace: tags within each stanza.

I recommend abandoning all dependencies on the obo-namespace tag. All ontologies have the ontology: tag and this is standard in all ontologies, not just OBO ones, so I recommend that.

You can do this as a stopgap:

perl -pi -ne 's@^ontology:@default-namespace:@' FOO.obo