Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates MDL readers to set symbol of pseudatoms to label. Ensures tha…
…t writing such a molecule does not force the SDF writer to see all pseudoatoms as R groups. Added unit test and test cases for V2000 and V3000 readers as well as V2000 writer Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net> Signed-off-by: Rajarshi Guha <rajarshi.guha@gmail.com>
- Loading branch information
Showing
7 changed files
with
184 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
|
||
-OEChem-01171208162D | ||
|
||
31 32 0 1 0 0 0 0 0999 V2000 | ||
2.2700 -0.5000 0.0000 C 0 0 3 0 0 0 0 0 0 0 0 0 | ||
-1.2200 -0.1300 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2.9600 -0.7000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-0.6200 1.4900 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-0.1200 -1.4500 0.0000 Gln 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-0.8400 -0.9400 0.0000 Ile 0 0 0 0 0 0 0 0 0 0 0 0 | ||
0.7600 -1.5400 0.0000 Asn 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-1.1200 0.7400 0.0000 C 0 0 3 0 0 0 0 0 0 0 0 0 | ||
1.7600 -1.2400 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 | ||
0.2000 1.8500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
3.1800 -1.5400 0.0000 Pro 0 0 0 0 0 0 0 0 0 0 0 0 | ||
4.0200 -1.7800 0.0000 Leu 0 0 0 0 0 0 0 0 0 0 0 0 | ||
4.2600 -2.6500 0.0000 Gly 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-2.1000 -0.2500 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 | ||
3.5800 -0.0700 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-1.8400 1.2800 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
0.0400 2.7500 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 | ||
5.1000 -2.8900 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-2.6800 0.9200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2.5400 -1.2400 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2.4300 0.5500 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2.0800 -1.9900 0.0000 S 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-4.3000 0.1700 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-3.4000 1.4300 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-2.7800 0.0200 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-4.2200 1.0700 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-3.5800 -0.3400 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-5.1200 -0.1900 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1.0900 1.8600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1.9800 1.4100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-5.2200 -1.0600 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
2 6 1 0 0 0 0 | ||
1 3 1 0 0 0 0 | ||
4 10 1 0 0 0 0 | ||
5 7 1 0 0 0 0 | ||
5 6 1 0 0 0 0 | ||
7 9 1 0 0 0 0 | ||
4 8 1 0 0 0 0 | ||
1 9 1 0 0 0 0 | ||
10 29 1 0 0 0 0 | ||
3 11 1 0 0 0 0 | ||
11 12 1 0 0 0 0 | ||
12 13 1 0 0 0 0 | ||
2 14 2 0 0 0 0 | ||
3 15 2 0 0 0 0 | ||
8 16 1 0 0 0 0 | ||
10 17 2 0 0 0 0 | ||
13 18 1 0 0 0 0 | ||
16 19 1 0 0 0 0 | ||
1 20 1 0 0 0 0 | ||
1 21 1 0 0 0 0 | ||
20 22 1 0 0 0 0 | ||
23 26 2 0 0 0 0 | ||
19 24 2 0 0 0 0 | ||
19 25 1 0 0 0 0 | ||
24 26 1 0 0 0 0 | ||
25 27 2 0 0 0 0 | ||
23 28 1 0 0 0 0 | ||
29 30 1 0 0 0 0 | ||
21 30 1 0 0 0 0 | ||
28 31 1 0 0 0 0 | ||
2 8 1 0 0 0 0 | ||
23 27 1 0 0 0 0 | ||
M END | ||
> <Index_Number> | ||
00819 | ||
|
||
> <Name> | ||
Carbetocin | ||
|
||
> <Entry_Date> | ||
6/19/1990 | ||
|
||
$$$$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
Marvin 01211213222D | ||
|
||
0 0 0 0 0 999 V3000 | ||
M V30 BEGIN CTAB | ||
M V30 COUNTS 10 10 0 0 0 | ||
M V30 BEGIN ATOM | ||
M V30 1 C -1.925 0.935 0 0 | ||
M V30 2 C -3.2587 0.165 0 0 | ||
M V30 3 C -3.2587 -1.375 0 0 | ||
M V30 4 C -1.925 -2.145 0 0 | ||
M V30 5 C -0.5913 -1.375 0 0 | ||
M V30 6 C -0.5913 0.165 0 0 | ||
M V30 7 C 0.8962 0.5636 0 0 | ||
M V30 8 C 2.2299 -0.2064 0 0 | ||
M V30 9 C 3.7174 0.1922 0 0 | ||
M V30 10 Leu 0.8962 2.1036 0 0 | ||
M V30 END ATOM | ||
M V30 BEGIN BOND | ||
M V30 1 1 1 2 | ||
M V30 2 2 1 6 | ||
M V30 3 2 2 3 | ||
M V30 4 1 3 4 | ||
M V30 5 2 4 5 | ||
M V30 6 1 5 6 | ||
M V30 7 1 6 7 | ||
M V30 8 1 7 8 | ||
M V30 9 1 8 9 | ||
M V30 10 1 7 10 | ||
M V30 END BOND | ||
M V30 END CTAB | ||
M END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters