Skip to content
Snippets Groups Projects
Commit aa2899bf authored by Alexander Rose's avatar Alexander Rose
Browse files

fix sequence label for non-standard residues, #70

parent f6acf0a6
No related branches found
No related tags found
No related merge requests found
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
* GFP chromophores (5Z6Y) * GFP chromophores (5Z6Y)
* Nucleotides that don’t have a parent base set, i.e. detect purine/pyrimidine from geometry (THX in 1AUL, OMC in e.g. 5D3G) * Nucleotides that don’t have a parent base set, i.e. detect purine/pyrimidine from geometry (THX in 1AUL, OMC in e.g. 5D3G)
* Bases with modified ring atoms * Bases with modified ring atoms
* DZ has C1 instead of N1 (e.g. 5I4N) * DZ has C1 instead of N1 (e.g. 6I4N)
* DP has N5 instead of C5 and C7 instead of N7 (e.g. 5I4N) * DP has N5 instead of C5 and C7 instead of N7 (e.g. 6I4N)
* Beta & Gamma peptides (e.g. 1GAC, 6PQF) * Beta & Gamma peptides (e.g. 1GAC, 6PQF)
* Mixed (heterogeneous) all-atom/trace-only RNA model (1JGQ) * Mixed (heterogeneous) all-atom/trace-only RNA model (1JGQ)
* Polymers with residues with missing trace atoms (e.g. 2QFJ) * Polymers with residues with missing trace atoms (e.g. 2QFJ)
...@@ -22,3 +22,6 @@ ...@@ -22,3 +22,6 @@
* C-alpha only (2rcj) * C-alpha only (2rcj)
* Not cyclic, but termini are backbone-only and within distance but seqIds are not compatible (6SW3) * Not cyclic, but termini are backbone-only and within distance but seqIds are not compatible (6SW3)
* Close backbone atoms but not linked (e.g. 4HIV) * Close backbone atoms but not linked (e.g. 4HIV)
* Non-standard residues
* Protein (1BRR, 5Z6Y)
* DNA (5D3G)
\ No newline at end of file
...@@ -137,7 +137,7 @@ namespace Sequence { ...@@ -137,7 +137,7 @@ namespace Sequence {
}); });
labels[i] = `(${l.join('|')})`; labels[i] = `(${l.join('|')})`;
} else { } else {
labels[i] = codes[i] === 'X' ? compIds[idx] : codes[i]; labels[i] = codes[i] === 'X' ? compIds[i] : codes[i];
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment