Closed rvhonorato closed 2 years ago
Yes. pdb_fecth
could try to download the PDB and if not available download the CIF. But not convert it to PDB.
I was reviewing this issue. The idea is good. However, we are using Semantic Version 2.0, which means that if we implement .cif
download in pdb_fecth
it would be a break in compatibility because something that was throwing an error before now would not - which would require bumping to version v3
. :scream:
What about pdb_fetchcif
?
Or is this cif
downloading feature beyond pdb-tools
scope? @JoaoRodrigues
Thanks for your review, I'll close this once since my initial description was for a behavior and the issue is now become a discussion.
Thanks again for your time :)
Describe the bug
pdb_fetch
useshttps://files.rcsb.org/download/
as the base URL, however not all structures are available via this interface.Example: 6olf
To Reproduce
Expected behavior Ideally you would run
pdb_fetch 6olf
and get6olf.pdb
but yhis one is a bit tricky since these large structures are only available as.cif
. Makingpdb_fetch
download the.cif
and convert it to.pdb
probably breaks theone tool
paradigm.But it could also download the
.cif
and display a warning that the output is not.pdb
Desktop (please complete the following information): Version: 2.4.1