Downloads
pATLAS database requests can be done through URLs, similar to what is done in eutils .
Download metadata
From a browser
If you have a list of accession numbers present in pATLAS database, you can download all metadata through:
or
It will fetch an array of json objects in which each contains all metadata available for that accession number.
E.g.:
From a terminal
TL;DR
Explanation
Send the post to
http://www.patlas.site/results/
.Send a
json
with the request. Thisjson
must contain a list ofaccession numbers
Download sequences
The sequences of plasmids from pATLAS database can be downloaded through the following API when providing a list of the accession numbers:
It will generate a fasta file with the accession numbers requested and the sequences associated with each accession number.
Limitation: This type of request to pATLAS database cannot have thousands of accessions therefore for requests with thousands of accessions, use the following request type:
Python:
Javascript / JQuery:
Note - The download
button in the top bar downloads the accession numbers associated with the current selection using this last API, so it is possible to download the full pATLAS data set. See Top navigation bar for more information. Download button in table also uses this API.
Last updated