-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from Pakman450/mol2_read_main
request to add a mol2 file reader
- Loading branch information
Showing
5 changed files
with
342 additions
and
0 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,23 @@ | ||
**Added:** | ||
|
||
* A multi-mol2 file reader that converts into rdkit objects | ||
|
||
**Changed:** | ||
|
||
* <news item> | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* <news item> | ||
|
||
**Security:** | ||
|
||
* <news item> |
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,243 @@ | ||
@<TRIPOS>MOLECULE | ||
mol_first | ||
11 11 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
@<TRIPOS>ATOM | ||
1 C1 -0.0167 1.3778 0.0096 C.ar 1 UNK 0.0267 | ||
2 C2 0.0021 -0.0041 0.0020 C.ar 1 UNK -0.0438 | ||
3 C3 1.2218 -0.6631 -0.0131 C.ar 1 UNK -0.0592 | ||
4 C4 2.3820 0.0960 -0.0201 C.ar 1 UNK -0.0438 | ||
5 C5 2.2849 1.4746 -0.0118 C.ar 1 UNK 0.0267 | ||
6 N6 1.1072 2.0677 0.0026 N.ar 1 UNK -0.2647 | ||
7 H7 -0.9627 1.8988 0.0169 H 1 UNK 0.0840 | ||
8 H8 -0.9217 -0.5635 0.0075 H 1 UNK 0.0639 | ||
9 H9 1.2671 -1.7422 -0.0190 H 1 UNK 0.0624 | ||
10 H10 3.3495 -0.3839 -0.0316 H 1 UNK 0.0639 | ||
11 H11 3.1838 2.0731 -0.0171 H 1 UNK 0.0840 | ||
@<TRIPOS>BOND | ||
1 1 6 ar | ||
2 1 2 ar | ||
3 1 7 1 | ||
4 2 3 ar | ||
5 2 8 1 | ||
6 3 4 ar | ||
7 3 9 1 | ||
8 4 5 ar | ||
9 4 10 1 | ||
10 5 6 ar | ||
11 5 11 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
@<TRIPOS>MOLECULE | ||
mol_sec | ||
9 9 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
|
||
@<TRIPOS>ATOM | ||
1 C1 1.2973 -0.3859 -0.0124 C.2 1 UNK 0.0838 | ||
2 N2 0.0021 -0.0041 0.0020 N.pl3 1 UNK -0.3106 | ||
3 H3 -0.7708 -0.5902 0.0062 H 1 UNK 0.1532 | ||
4 C4 -0.0165 1.3646 0.0095 C.2 1 UNK 0.0120 | ||
5 C5 1.2671 1.7717 -0.0005 C.2 1 UNK 0.0422 | ||
6 N6 2.0482 0.6814 -0.0138 N.2 1 UNK -0.2480 | ||
7 H7 1.6529 -1.4057 -0.0216 H 1 UNK 0.1014 | ||
8 H8 -0.8923 1.9965 0.0173 H 1 UNK 0.0806 | ||
9 H9 1.6079 2.7966 0.0017 H 1 UNK 0.0854 | ||
@<TRIPOS>BOND | ||
1 1 6 2 | ||
2 1 2 1 | ||
3 1 7 1 | ||
4 2 3 1 | ||
5 2 4 1 | ||
6 4 5 2 | ||
7 4 8 1 | ||
8 5 6 1 | ||
9 5 9 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
@<TRIPOS>MOLECULE | ||
mol_third | ||
9 9 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
|
||
@<TRIPOS>ATOM | ||
1 C1 1.2973 -0.3859 -0.0124 C 1 UNK 0.0838 | ||
2 N2 0.0021 -0.0041 0.0020 N 1 UNK -0.3106 | ||
3 H3 -0.7708 -0.5902 0.0062 H 1 UNK 0.1532 | ||
4 C4 -0.0165 1.3646 0.0095 C 1 UNK 0.0120 | ||
5 C5 1.2671 1.7717 -0.0005 C 1 UNK 0.0422 | ||
6 N6 2.0482 0.6814 -0.0138 N 1 UNK -0.2480 | ||
7 H7 1.6529 -1.4057 -0.0216 H 1 UNK 0.1014 | ||
8 H8 -0.8923 1.9965 0.0173 H 1 UNK 0.0806 | ||
9 H9 1.6079 2.7966 0.0017 H 1 UNK 0.0854 | ||
@<TRIPOS>BOND | ||
1 1 6 2 | ||
2 1 2 1 | ||
3 1 7 1 | ||
4 2 3 1 | ||
5 2 4 1 | ||
6 4 5 2 | ||
7 4 8 1 | ||
8 5 6 1 | ||
9 5 9 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
@<TRIPOS>MOLECULE | ||
mol_sec_f | ||
9 9 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
|
||
@<TRIPOS>ATOM | ||
1 C1 1.2973 -0.3859 -0.0124 C.2 1 UNK 0.0838 | ||
2 N2 0.0021 -0.0041 0.0020 N.pl3 1 UNK -0.3106 | ||
3 H3 -0.7708 -0.5902 0.0062 H 1 UNK 0.1532 | ||
4 C4 -0.0165 1.3646 0.0095 C.2 1 UNK 0.0120 | ||
5 C5 1.2671 1.7717 -0.0005 C.2 1 UNK 0.0422 | ||
6 N6 2.0482 0.6814 -0.0138 N.2 1 UNK -0.2480 | ||
7 H7 1.6529 -1.4057 -0.0216 H 1 UNK 0.1014 | ||
8 H8 -0.8923 1.9965 0.0173 H 1 UNK 0.0806 | ||
9 H9 1.6079 2.7966 0.0017 H 1 UNK 0.0854 | ||
|
||
1 1 6 2 | ||
2 1 2 1 | ||
3 1 7 1 | ||
4 2 3 1 | ||
5 2 4 1 | ||
6 4 5 2 | ||
7 4 8 1 | ||
8 5 6 1 | ||
9 5 9 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
@<TRIPOS>MOLECULE | ||
mol_sec_f1 | ||
9 9 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
|
||
|
||
1 C1 1.2973 -0.3859 -0.0124 C.2 1 UNK 0.0838 | ||
2 N2 0.0021 -0.0041 0.0020 N.pl3 1 UNK -0.3106 | ||
3 H3 -0.7708 -0.5902 0.0062 H 1 UNK 0.1532 | ||
4 C4 -0.0165 1.3646 0.0095 C.2 1 UNK 0.0120 | ||
5 C5 1.2671 1.7717 -0.0005 C.2 1 UNK 0.0422 | ||
6 N6 2.0482 0.6814 -0.0138 N.2 1 UNK -0.2480 | ||
7 H7 1.6529 -1.4057 -0.0216 H 1 UNK 0.1014 | ||
8 H8 -0.8923 1.9965 0.0173 H 1 UNK 0.0806 | ||
9 H9 1.6079 2.7966 0.0017 H 1 UNK 0.0854 | ||
@<TRIPOS>BOND | ||
1 1 6 2 | ||
2 1 2 1 | ||
3 1 7 1 | ||
4 2 3 1 | ||
5 2 4 1 | ||
6 4 5 2 | ||
7 4 8 1 | ||
8 5 6 1 | ||
9 5 9 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
@<TRIPOS>MOLECULE | ||
mol_sec_f3 | ||
9 9 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
@<TRIPOS>ATOM | ||
@<TRIPOS>BOND | ||
1 1 6 2 | ||
2 1 2 1 | ||
3 1 7 1 | ||
4 2 3 1 | ||
5 2 4 1 | ||
6 4 5 2 | ||
7 4 8 1 | ||
8 5 6 1 | ||
9 5 9 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
@<TRIPOS>MOLECULE | ||
mol_sec_f4 | ||
9 9 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
@<TRIPOS>ATOM | ||
@<TRIPOS>BOND | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
|
||
|
||
@<TRIPOS>MOLECULE | ||
|
||
|
||
|
||
@<TRIPOS>ATOM | ||
1 C1 1.2973 -0.3859 -0.0124 C.2 1 UNK 0.0838 | ||
2 N2 0.0021 -0.0041 0.0020 N.pl3 1 UNK -0.3106 | ||
3 H3 -0.7708 -0.5902 0.0062 H 1 UNK 0.1532 | ||
4 C4 -0.0165 1.3646 0.0095 C.2 1 UNK 0.0120 | ||
5 C5 1.2671 1.7717 -0.0005 C.2 1 UNK 0.0422 | ||
6 N6 2.0482 0.6814 -0.0138 N.2 1 UNK -0.2480 | ||
7 H7 1.6529 -1.4057 -0.0216 H 1 UNK 0.1014 | ||
8 H8 -0.8923 1.9965 0.0173 H 1 UNK 0.0806 | ||
9 H9 1.6079 2.7966 0.0017 H 1 UNK 0.0854 | ||
|
||
1 1 6 2 | ||
2 1 2 1 | ||
3 1 7 1 | ||
4 2 3 1 | ||
5 2 4 1 | ||
6 4 5 2 | ||
7 4 8 1 | ||
8 5 6 1 | ||
9 5 9 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
||
@<TRIPOS>MOLECULE | ||
mol_sec | ||
9 9 1 0 0 | ||
SMALL | ||
AMBER ff14SB | ||
|
||
|
||
@<TRIPOS>ATOM | ||
1 C1 1.2973 -0.3859 -0.0124 C 1 UNK 0.0838 | ||
2 N2 0.0021 -0.0041 0.0020 N 1 UNK -0.3106 | ||
3 H3 -0.7708 -0.5902 0.0062 H 1 UNK 0.1532 | ||
4 C4 -0.0165 1.3646 0.0095 C 1 UNK 0.0120 | ||
5 C5 1.2671 1.7717 -0.0005 C 1 UNK 0.0422 | ||
6 N6 2.0482 0.6814 -0.0138 N 1 UNK -0.2480 | ||
7 H7 1.6529 -1.4057 -0.0216 H 1 UNK 0.1014 | ||
8 H8 -0.8923 1.9965 0.0173 H 1 UNK 0.0806 | ||
9 H9 1.6079 2.7966 0.0017 H 1 UNK 0.0854 | ||
@<TRIPOS>BOND | ||
1 1 6 2 | ||
2 1 2 1 | ||
3 1 7 1 | ||
4 2 3 1 | ||
5 2 4 1 | ||
6 4 5 2 | ||
7 4 8 1 | ||
8 5 6 1 | ||
9 5 9 1 | ||
@<TRIPOS>SUBSTRUCTURE | ||
1 UNK 1 RESIDUE 4 A UNK 0 ROOT | ||
|
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