Closed nterhoeven closed 7 years ago
Thanks for reporting this. The default output of Mapman/Mercator might have changed since implementation of this feature. Looking at the source code the expected output format is a file that is separated into three sections (header, mapping, footer):
//if..elseif..else: check which section we are in
// header, looks like <BINCODE>\t<H_DESC>
// ...
//mapping, looks like <BINCODE>, <H_DESC>, <srcfeature_name>, <feature_description>, "T"
// ...
//footer, looks like: <BINCODE>, <H_DESC>, <CHEM>, <C_DESC>, "M"
All bincodes have to be defined in the header because there dbxrefs and cvterms are created and stored for usage when parsing the mapping section. If a bincode is missing in the header the cvterm will be missing in the mapping section. The footer is just to enrich the bincodes with further properties (so not essential). Please check if the bincode of the line that creates the error is present in the header.
PS: If the output format of mapman did indeed change would you be willing to assist in extending the importer to accept the new format as well?
I want to upload mapman annotations generated with mercator.
I used the mercator web tool (http://www.plabipd.de/portal/mercator-sequence-annotation) to generate the files. When I now try to upload the files, I get the following error:
sample from the file, I am trying to use:
Is this a problem with the import script or the data?