-
Notifications
You must be signed in to change notification settings - Fork 11
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 #82 from cheminfo/isomers
Isomers generator + Stock search
- Loading branch information
Showing
39 changed files
with
249 additions
and
41 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+124 KB
docs/30_structural_analysis/mass/100_in_silico/images/explore_peaks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+78.2 KB
docs/30_structural_analysis/mass/100_in_silico/images/fragmentation_tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
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
23 changes: 23 additions & 0 deletions
23
docs/30_structural_analysis/mass/includes/peak-labels/README.md
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 @@ | ||
|
||
|
||
#### Relative mass and MF determination | ||
|
||
This view displays normally the mass of the peaks, but it is also possible to display relative mass to a specific peak. | ||
|
||
1. Click on a peak to change the `Monoisotopic mass` value | ||
2. Click on the checkbox `Relative mass` on the top right | ||
|
||
![preferences](images/prefs.png) | ||
|
||
It is also possible to display possible molecular formulas for the relative mass. Those are calculating using the following criteria: | ||
|
||
- allowed atoms are based on the `Ranges` | ||
- only neutral loss are considered | ||
- the charge of the entity loosing this neutral fragment is defined in `Charge`, by default 1 | ||
- you should change the number in the cell `Show MF` in order to annotate the peaks with the corresponding MF | ||
|
||
It is also possible to define the color of the MF annotation depending on the precision. By default, if no MF is found under a precision of 20ppm no MF is displayed. | ||
|
||
![colors](images/colors_mass.png) | ||
|
||
![mass](images/mass.png) |
File renamed without changes
File renamed without changes
File renamed without changes
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,42 @@ | ||
--- | ||
slug: /uuid/eeb03ca6c7a82d043456704a340e6d04 | ||
--- | ||
|
||
import AQF from "../../includes/advanced_query_features/README.md"; | ||
|
||
# Search Stock | ||
|
||
`Search Stock` is a tool to manage the stock of chemical compounds in your lab. The view is divided into three main sections: the search and print section on the left, the list of the compounds in the middle, and the details of the selected compound on the right. | ||
|
||
![general_view](general_view.png) | ||
|
||
## Searching for a Compound | ||
|
||
To search for a specific compounds within the stock, you can draw a structure on the left panel and either select the `substructure` or the `similarity` search. The `substructure` search will return all compounds that contain the drawn structure, while the `similarity` search will return all compounds that are similar to the drawn structure. It is also possible to search by a name in the search bar. | ||
|
||
![search](substructure_search.gif) | ||
|
||
Once the substructure or the similar structure is drawn, the search results will be displayed on the right panel. It is possible to click on one of the compounds to get additional information. | ||
|
||
<AQF/> | ||
|
||
## Stock Information | ||
|
||
On the right panel, you can find all the information about the selected compound. The information includes the molecular formula, the structure, the molecular weight, the quantity, the location, the purity, and many more details that can be provided. | ||
|
||
:::note | ||
Note that the products are grouped by structure, a given structure can have multiple references representing different batches of the same compound. | ||
::: | ||
|
||
It is easy to change the status of a product. You can change the quantity, the location, the purity, whether the product is available or not. The modifications will be saved in the `Stock modification history`. | ||
|
||
![details](details.png) | ||
|
||
The `Stock modification history` shows the history of the stock modifications. It is possible to see the status, the location, the user that made the modification and the date of the modification of the product. | ||
|
||
|
||
To print the current state of the stock status for a specific compound, you can click on the `Print` button. This will create a PDF file with all the information about the compound. You can choose the printer and the location in the following panel. | ||
|
||
![print](print.png) | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,16 @@ | ||
--- | ||
slug: /uuid/7cead2ae3da71090cb17baa3856ea38b | ||
--- | ||
|
||
# Maygen: Isomers generation | ||
|
||
## Introduction | ||
|
||
Maygen is a tool to generate isomers from a molecular formula. It is based on the paper [MAYGEN: an open-source chemical structure generator for constitutional isomers based on the orderly generation principle](https://doi.org/10.1186/s13321-021-00529-9). | ||
|
||
## Isomers generation | ||
|
||
To generate isomers, you need to enter a molecular formula in the input field. The molecular formula is then parsed and isomers are generated. | ||
The generated isomers are displayed in the table below the input field. It is possible to search by substructure in the generated isomers by drawing the substructure in the structure editor. The tool also provide a list of SMILES and idCodes of the generated isomers. | ||
|
||
![Maygen](maygen.gif) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,47 @@ | ||
--- | ||
slug: /uuid/f16d016423c4bfa9ec3c72137682a12e | ||
--- | ||
|
||
# Surge: Isomers generation | ||
|
||
## Introduction | ||
|
||
Surge is a tool to generate isomers from a molecular formula. It is based on the paper [Surge: a fast open-source chemical graph generator](https://doi.org/10.1186/s13321-022-00604-9). | ||
|
||
## Isomers generation | ||
|
||
This tool provides a list of options for the generation of isomers. The list of options is given in the panel shown below. | ||
|
||
![Surge Options](surge_options.png) | ||
|
||
The options are as follows: | ||
|
||
- **Molecular Fromula**: The molecular formula for which the isomers are to be generated. | ||
- **Limit**: The maximum number of isomers to be generated. | ||
- **Timeout**: The maximum time in seconds to generate isomers (maximum 30s). | ||
- **Calculate IdCode**: Whether to calculate the idCode for each isomer. | ||
- **Disallow triple bonds**: Whether to disallow triple bonds in the isomers. | ||
- **Require Planarity**: Whether to require planarity in the isomers. | ||
- **Limit 3 rings**: Limit the number of rings of length 3, with the format `max` or `min:max`. | ||
- **Limit 3 rings**: Limit the number of rings of length 5, with the format `max` or `min:max`. | ||
- **No small ring triple bonds**: Whether to disallow triple bonds in rings of size up to 7. | ||
- **Bredt's rule one**: Whether to apply [Bredt's rule](https://en.wikipedia.org/wiki/Bredt's_rule) for two rings $ij$ with one bond in common (33, 34, 35, 36, 44, 45). | ||
- **Bredt's rule two**: Whether to apply [Bredt's rule](https://en.wikipedia.org/wiki/Bredt's_rule) for two rings $ij$ with two bonds in common ($ij$ up to 56). | ||
- **Bredt's rule three**: Whether to apply [Bredt's rule](https://en.wikipedia.org/wiki/Bredt's_rule) for two rings of size 6 sharing three bonds. | ||
- **No K33 K24**: Whether to disallow K33 and K24 subgraphs. | ||
- **No cone**: None of cone of P4, K4 with 3-ear. | ||
- **No allene**: Whether to disallow allenes (A=A=A) in a ring or not. | ||
- **No allene in small rings**: Whether to disallow allenes in rings of size up to 8. | ||
- **No small rings common atoms**: No atom in more than one ring of length 3 or 4. | ||
|
||
After setting all the options, click on the `Search strucural isomers` button to generate the isomers. The results are shown in a table as shown below. | ||
|
||
![Surge Results](table_isom.png) | ||
|
||
A list of `SMILES` and `idCodes` are shown on the right panel and can easily be copied. | ||
|
||
## Substructure search | ||
|
||
Using the chemical structure editor, you can draw a structure and search for the substructure in the generated isomers. While the substructure is being drawn, the search is performed in real-time and the results are shown in the table. | ||
|
||
![substructure search](substructure_search.gif) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,20 @@ | ||
|
||
<details> | ||
<summary> | ||
Advanced Query Features | ||
</summary> | ||
<div> | ||
|
||
## Advanced Query features | ||
|
||
You can fine-tune the search by specifying atomic and bond properties. These options can be accessed by hovering over the atom or bond of interest and pressing `q`. For example, you can allow certain atoms at this specific position, or you can modify the ring size. | ||
|
||
![advanced options](advanced_options.gif) | ||
|
||
Furthermore, you can include separate molecules in the search. This will result in structures containing both fragments with no restrictions on orientation or connectivity. One of the molecules can be selected and excluded from the search. It removes the structures completely from the search results. The excluded fragment is highlighted in pink. | ||
|
||
![excluded fragment](excluded_fragment.gif) | ||
|
||
</div> | ||
|
||
</details> |
File renamed without changes
File renamed without changes
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
Diff not rendered.
Oops, something went wrong.