Hi Abhilash,

You should also be able to do this with the ProDy python package.

Once installed open a python terminal and type the following:

from prody import *

biomols = parsePDB(list_of_ids, biomol=True, extend_biomol=True) # this will 
take files in whichever format is available

for b in biomols:
    writePDB(b.getTitle().replace(' ', '_'), b)

You would have to define something in list_of_ids beforehand e.g.

list_of_ids = ['3h5v', '3h5w']

or

list_of_ids = ['cifs/3h5v.cif', 'cifs/3h5w.cif']

Best wishes
James
On 11 Jul 2022, at 00:31, Abhilasha Thakur <thakur.08...@gmail.com> wrote:


Hello,

I have a long list of PDB ids and I needed the all the biological assembly for 
each PDB Id, so in this case how I can get these biological assembly in PDB 
format.
Please guide me how to get these assemblies, manually it wouldn't be possible 
for each PDB I'd.



Thankyou

________________________________

To unsubscribe from the CCP4BB list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCP4BB&A=1<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jiscmail.ac.uk%2Fcgi-bin%2FWA-JISC.exe%3FSUBED1%3DCCP4BB%26A%3D1&data=05%7C01%7Ckriegerj%40PITT.EDU%7C2bd6038f21ea4fcde9e408da62f6379d%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1%7C0%7C637931107007883417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=vm5LAgPaUJz3bbL5VTYDC96VnlJsGXMtbaopQ4LGUKk%3D&reserved=0>

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

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