nextstrain / fauna

RethinkDB database to support real-time virus analysis
GNU Affero General Public License v3.0
33 stars 13 forks source link

Parse subtype from document field #54

Closed trvrb closed 7 years ago

trvrb commented 7 years ago

This will now set subtype to something passed in from the command line, like --subtype h3n2, but if --subtype is absent from the command line, it will look for the subtype field within the document. The function format_subtype canonicalizes subtype names.

Fixes #51.