Comments (7)
Thank you for your very fast response. I will think about using mmCIF files, maybe I can parse string from PDB files as well, I haven't decided on that yet. Maybe after my graduation, I would like to make some contributions in my free time to this great project. Perhaps even this issue maybe? 😅
from biostructures.jl.
You are right, it would be useful. On the todo list is wrapping DSSP to calculate secondary structure from the structure itself, rather than reading it from the PDB/mmCIF header. This approach fits the philosophy of BioStructures better than reading the header, since it would work on custom PDB files without a header too.
No promises about that being implemented soon though, sorry. In the meantime you could write the mmCIF header parsing functions you need using the mmCIF dictionary, for example for helices:
using BioStructures
downloadpdb("1AKE", format=MMCIF)
d = MMCIFDict("1AKE.cif")
hs, he = d["_struct_conf.beg_auth_seq_id"], d["_struct_conf.end_auth_seq_id"]
helices = [(parse(Int, s), parse(Int, e)) for (s, e) in zip(hs, he)]
Note chain IDs etc. are neglected for simplicity in this example.
from biostructures.jl.
Related Issues (11)
- BioStructures fails to parse certain PDB files from SCOPe/ASTRAL archive HOT 1
- Create a ContactMap from a BitArray HOT 3
- Error using BioStructures, no "libz1" module found HOT 2
- Request for symmetries HOT 2
- Suggestion: Make structural elements mutable HOT 7
- MMCIF reader parsing mistakes, some keys are missing / corrupted HOT 3
- Multiple selection and Merge Selection HOT 5
- convert pdb to mol HOT 2
- MMCIF reading error
- export fixlists! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biostructures.jl.