Gary pointed me to a typo in the API reference link (thanks!). This is the
correct one: https://models.rcsb.org

On Thu, 7 Sept 2023 at 09:34, Jose Duarte <jose.dua...@rcsb.org> wrote:

> The ModelServer API is your friend. See the APIs help page at
> https://www.rcsb.org/docs/programmatic-access/web-services-overview and
> the full ModelServer API reference at https://modes.rcsb.org
>
> An example that retrieves chain A of 2trx (in CIF format):
> https://models.rcsb.org/v1/2trx/atoms?label_asym_id=A&encoding=cif&copy_all_categories=false&download=false
>
> I'll also take this opportunity to advertise the upcoming RCSB PDB APIs
> crash course: https://iqb.rutgers.edu/node/279 . Though the course will
> mostly deal with other APIs (Data and Search).
>
> Hope this helps
>
> Jose
>
>
> On Thu, 7 Sept 2023 at 09:17, Whitley, Matthew (NIH/NCI) [C] <
> 0000a8ed4e9d4a1a-dmarc-requ...@jiscmail.ac.uk> wrote:
>
>> Hello all,
>>
>>
>>
>> I have a script I use from time to time to batch download multiple PDB
>> files using curl.
>>
>>
>>
>> I have certain use cases in which I only need a specific chain from a PDB
>> file that contains multiple chains.  At present, I download the complete
>> PDB file and then use pdbtools to pull out the specific chain I want.
>>
>>
>>
>> Does anyone know a way to batch download *specific chains* from the PDB?
>>   I reviewed the “File Download Services” page at the RCSB PDB, but I
>> didn’t find anything about downloading specific chains, so I don’t know if
>> this functionality exists.
>>
>>
>>
>> Thanks for your suggestions.
>>
>> Matthew
>>
>>
>>
>> ------------------------------
>>
>> To unsubscribe from the CCP4BB list, click the following link:
>> https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCP4BB&A=1
>>
>

########################################################################

To unsubscribe from the CCP4BB list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCP4BB&A=1

This message was issued to members of www.jiscmail.ac.uk/CCP4BB, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to