TransPi
TransPi copied to clipboard
Uniprot Metazoan database not downloaded due to changes in UniProt REST API
The precheck_TransPi.sh
script fails to download the UniProt Metazoa database due to changes to the API.
This is what comes back from the download command:
$ curl -o uniprot_metazoa_33208.fasta.gz "https://www.uniprot.org/uniprot/?query=taxonomy:33208&format=fasta&compress=yes&include=no"
$ cat uniprot_metazoa_33208.fasta.gz
Search result downloads have now moved to https://rest.uniprot.org. Please consult https://www.uniprot.org/help/api for guidance on changes.
I tried implementing the changes suggested by the new API guide with the command below, but it doesn't download anything.
curl -o uniprot_metazoa_33208.fasta.gz "https://rest.uniprot.org/uniprotkb/search?query=organism_id%3A33208&format=fasta&compressed=true"
Thanks, Ido