Koeng101 / dnadesign

A Go package for designing DNA.
Other
23 stars 0 forks source link

Uniprot GET #36

Closed Koeng101 closed 8 months ago

Koeng101 commented 8 months ago

It would be nice to be able to get a single uniprot file from their REST API, given you have the accession number. For example: https://rest.uniprot.org/uniprotkb/P42212.xml?include=yes

I imagine the function would be something like this:

func GetUniprotXML(accessionId string) (uniprot.Entry, error) {
}