Commit 543d730
committed
Reducing assumptions that structures are protein
Rather than checking for CA atoms, check for a generic representative
(e.g. the C4' atom of nucleic acids).
This paves the way for RNA structure comparisons.
Mostly deprecates CA-specific functions in favor of ones named
'getRepresentativeAtom' or similar. A few functions change behavior,
notably:
- StructureTools.get1LetterCode returns a value for nucleotides, rather than null
- StructureTools.getBackboneAtomArray returns atoms from DNA/RNA1 parent ce7dbcb commit 543d730
File tree
11 files changed
+437
-135
lines changed- biojava-integrationtest/src/test/java/org/biojava/nbio/structure/test/align/fatcat
- biojava-structure/src/main/java/org/biojava/nbio/structure
- align
- ce
- fatcat/calc
- io
- mmcif
- quaternary
11 files changed
+437
-135
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments