This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor docs
- Loading branch information
Showing
6 changed files
with
71 additions
and
13 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 was deleted.
Oops, something went wrong.
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,29 @@ | ||
--- | ||
title: "Examples" | ||
format: | ||
html: | ||
page-layout: full | ||
--- | ||
|
||
PSE utils: Conversion of python session files to Molviewspec. | ||
|
||
|
||
## Example PSE | ||
|
||
This is a simple example PSE that has a protein object and a selection object. The pymol `PSE` is on the left and the resulting molviewspec is on the right. | ||
|
||
```sh | ||
pseutils --psefile docs/examples/example.pse --outputdir docs/examples/example | ||
``` | ||
|
||
:::: {.columns .column-page} | ||
|
||
::: {.column width="40%"} | ||
![](./examples/images/example_pse.png) | ||
::: | ||
|
||
::: {.column width="60%"} | ||
{{< mol-json ./examples/example/state.mvsj >}} | ||
::: | ||
|
||
:::: |
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 |
---|---|---|
@@ -1,16 +1,45 @@ | ||
--- | ||
title: "pseutils" | ||
|
||
--- | ||
|
||
|
||
PSE utils: Conversion of python sessionfiles to Molviewspec. | ||
PSEutils: Conversion of python session files to Molviewspec. | ||
|
||
|
||
|
||
## Convert PSE | ||
|
||
```sh | ||
|
||
# build the binary and test | ||
cargo build --release | ||
./target/release/pseutils --psefile tests/data/example.pse --outputdir binary_test | ||
|
||
# outputs a complete directory | ||
> tree binary_test | ||
binary_test | ||
├── index.html | ||
├── molstar.css | ||
├── molstar.js | ||
├── pdb | ||
│ └── 1pdb.pdb | ||
├── pdb_contents.txt | ||
└── state.mvsj | ||
|
||
``` | ||
|
||
|
||
## Docs and Links | ||
|
||
## Example PSE | ||
PSEUtils: | ||
|
||
This is a simple example PSE that has a protein object and a selection object. | ||
- High Level [Rust Docs](./doc/pseutils) | ||
- PSE [Rust Parser](./doc/pseutils/pymolparsing/psedata/index.html) | ||
- MVSJ [Nodes](./doc/pseutils/molviewspec/nodes/index.html) | ||
|
||
![](./examples/images/example_pse.png) | ||
Related: | ||
|
||
{{< mol-json ./examples/example/state.mvsj >}} | ||
- [Pymol-Open-source](https://github.com/schrodinger/pymol-open-source) | ||
- [mol-view-spec](https://molstar.org/mol-view-spec/) | ||
- [molstar](https://molstar.org) | ||
- [molstar-quarto](https://github.com/jmbuhr/quarto-molstar). Used to embed the MVSJ widgets in the page. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.