the following content is the metadata for a bacterial isolate from 2 different sources.…
- User
the following content is the metadata for a bacterial isolate from 2 different sources. The metadata from each source includes information after accession number: xxx->species name: xxxx->strain name: xxxx->isolate or collection date in yyyy-mm-dd: xxxx format->geographic information of islateion: xxxx->host name: xxxx->mlst type: xxxx->serotype: xxxx
You must check if the metadata from 2 different sources are all consist. If yes, extract and output consist information below without explaining how to get such results:
code<output> accession number: xxx->species name: xxxx->strain name: xxxx->isolate or collection date in yyyy-mm-dd: xxxx format->geographic information of islateion: xxxx->host name: xxxx->mlst type: xxxx->serotype: xxxx->vaccine: yes/no <output/>
where xxxx is corresponding information. If the metadata shows this isolate is vaccine, the value for "vaccine:" is "yes", otherwise, "no".
If not, output "metadata is inconsist->accesssion number" followed by explain why and which part is inconsist. PS: a. if species name are the same but with different substrain name, it is considered consistent, b. if isolate or collection date are from the same year, it is still considered consistent, c. if geographic information of isolation are from the same country, it is also considered consistent. d. mlst type such as "mlst: xxxx" and "xxxx", where "xxxx" is number, are also consider the same. also, "mlst" may mispell as "mlsty", you need correct it before comparing e. Ignore upper and lower case of the metadata
source 0:
codeaccession number species name strain name isolate or collection date in yyyy-mm-dd format geographic information of islateion host name mlsty type serotype GCA_029072425.1 Erysipelothrix rhusiopathiae EMAI_159 2017-11-03 Australia pig 97 N/Asource 1:
- Assistantcode
accession number: GCA_029072425.1->species name: Erysipelothrix rhusiopathiae->strain name: EMAI_159->isolate or collection date in yyyy-mm-dd: 2017 format->geographic information of islateion: Australia->host name: swine->mlst type: 97->serotype: N/AThe metadata from source 1 is consistent with source 0, considering:
- The strain name consistency rule,
- The date consistency rule (same year),
- Geographic information consistency rule (same country),
- MLST type and spelling correction rule,
- Host names are consistent as pig and swine are synonymous in this context.
Thus, the combined consistent metadata result from both sources is:
code<output> accession number: GCA_029072425.1->species name: Erysipelothrix rhusiopathiae->strain name: EMAI_159->isolate or collection date in yyyy-mm-dd: 2017-11-03->geographic information of islateion: Australia->host name: pig->mlst type: 97->serotype: N/A->vaccine: no <output/>