From/To ID mapping implemented
Implemented the ID mapping available at https://www.uniprot.org/id-mapping triggered when "From database" and "To database" are different to the default values - "UniProtKB AC/ID" and "UniProtKB".
Two new parameters: --from-db
and --to-db
. Possible values for these can be consulted by consulting the information at https://rest.uniprot.org/configure/idmapping/fields
They can also be checked on by inputting a wrong value to the parameter. Possible options will show up.
UPIMAPI will end execution after performing this new ID mapping. It can't be combined with the ID mapping that obtains columns of information from UniProt.
Re-added pyyaml as dependency, as api_info
is now obtained again, and used directly.