-
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.
- Loading branch information
1 parent
1020829
commit 7482944
Showing
7 changed files
with
100 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 'publish' | ||
on: | ||
push: | ||
branches: | ||
- release | ||
|
||
jobs: | ||
publish-tauri: | ||
permissions: | ||
contents: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [macos-latest, ubuntu-20.04, windows-latest] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: install Rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: install dependencies (ubuntu only) | ||
if: matrix.platform == 'ubuntu-20.04' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf | ||
- name: install frontend dependencies | ||
run: yarn install # change this to npm or pnpm depending on which one you use | ||
- uses: tauri-apps/tauri-action@v0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version | ||
releaseName: 'App v__VERSION__' | ||
releaseBody: 'See the assets to download this version and install.' | ||
releaseDraft: true | ||
prerelease: false |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Douwe Schulte and contributors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,39 +1,18 @@ | ||
# Tauri + Vanilla | ||
A simple tool to help you manually discover the depths of your spectra one spectrum at a time. It can load MGF files (only in centroid mode, also do not forget to deconvolute if you have TD data). Once loaded you can select a scan and add you annotation while tweaking the exact settings for generating the annotation. The annotation itself is interactive to help you discover what the spectrum means. Which you can then export as nice images for use in other environments. | ||
|
||
This template should help get you started developing with Tauri in vanilla HTML, CSS and Javascript. | ||
## Peptide sequence | ||
|
||
## Recommended IDE Setup | ||
It uses the [ProForma](https://github.com/HUPO-PSI/ProForma) specification to specify the sequence, it does not handle every last detail of this specification yet, for details see [rustyms](https://github.com/snijderlab/rustyms). Here are some examples of valid sequences: | ||
|
||
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) | ||
* `VAEINPSNGGTTFNEKFKGGKATJ` Normal aminoacids | ||
* `EM[L-methionine sulfoxide]EVEES[UNIMOD:21]PEK` Modifications using [unimod](http://www.unimod.org) and [PSI-MOD](https://www.ebi.ac.uk/ols/ontologies/mod) | ||
* `TFNEKF[+15.9949]KGGKATJ` Modifications using raw masses | ||
* `TFNEKF[Formula:O]KGGKATJ` Modifications using elemental formula | ||
* `TFNEKF[Glycan:HexNAc1Hex2]KGGKATJ` Modifications glycan compositions | ||
* `[+16]-TFNEKFKGGKATJ-[Methyl]` Terminal modifications | ||
* `<15N>TFNEKFKGGKATJ` Global isotope modifications (all Nitrogen is 15N) | ||
* `<[S-carboxamidomethyl-L-cysteine]@C>AVYYCSRWGGDGFYAMDYWGQG` Global modifications (all C are carboxamidomethylated) | ||
|
||
## Example input | ||
## Installing | ||
|
||
EVQLVESGGGLVQPGGSLRLSCAASGFTVSSNYMSWVRQAPGKGLEWVSVIYSGGSTYYADSVKGRFTISRDNSKNTLYLQMNSLRAEDTAVYYCARXXXXXXXXXXXXXXXXXXXX | ||
|
||
|
||
DLQLVESGGGLVGAKSPPGTLSAAASGFNL | ||
DLQLVESGGGLVGAKSPPGTLSAAASGFNL | ||
EVQLVESGGGLVQPGGSLSGAKYHSGFNL | ||
EVVQLVESGGGLVQPGGSLGVLSCAASGF | ||
DLQLVESGGGLVQPGGSLGVLSCAASGF | ||
DLQLVESGGGLVQPGTPLYWNAASGFNL | ||
DLQLVESGGGLVQPGGSLRLSCAASGF | ||
QVQLVESGGGLVQPGGSLRLSCAASGF | ||
EVQLVESGGGLPVQGGSLRLSCAADGF | ||
EVQLVESGGGLVQPGGSLRLSCAASGF | ||
EVQLVSGEGGLVQPGGSLRLSCAASGF | ||
QVELVESGGGLVQPGGSLRLSCAASGF | ||
TLSADTSKNTAYLQMNSLRAEDTAVY | ||
RFTLSADTSKNTAYLQMNSLRAEDTA | ||
QLVESGGGLVQPGGSLTHVAGAGHSGF | ||
SADTSKNTAYLQMNSLRAEDTAVYY | ||
LMLTDGYTRYADSVKGRFTLSADTS | ||
QLVESGGGLVQPGGSLRLSCAASGF | ||
QLVESGGGLVQPGGSLRLSCQTGF | ||
LVESGGGLVQPNSLRLSCAASGF | ||
|
||
## todo | ||
- [ ] Add density plot along the y axis of the spectrum graph to see the density of all errors over the ppm range | ||
- [ ] Add N/C terminal highlighting option (shows all applicable ions in spectra, show all points relative to that side for spectrum-graph) | ||
- [ ] Add N/C, N, or C positioning option for spectrum graph (shows all points relative to that series) | ||
- [ ] Ruisfilter | ||
See [releases](https://github.com/snijderlab/annotator/releases) for the latest release, here you will also find the prebuilt binaries for your architecture. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[package] | ||
name = "stitch-oxide" | ||
name = "annotator" | ||
version = "0.1.0" | ||
description = "Oxidised stepping stones for a new Stitch" | ||
authors = ["you"] | ||
license = "" | ||
repository = "" | ||
authors = ["Douwe Schulte <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/snijderlab/annotator" | ||
edition = "2021" | ||
rust-version = "1.57" | ||
|
||
|
@@ -22,12 +22,12 @@ path = "alignment/src/bin.rs" | |
tauri-build = { version = "1.2", features = [] } | ||
|
||
[dependencies] | ||
itertools = "0.10" | ||
itertools = "0.11" | ||
serde_json = "1.0" | ||
serde = { version = "1.0", features = ["derive"] } | ||
tauri = { version = "1.2", features = ["dialog-open"] } | ||
pdbtbx = "0.10" | ||
rustyms = { path = "../../rustyms" } | ||
rustyms = "0.4.0" | ||
proc_interface = { path = "../src-proc-interface" } | ||
|
||
[features] | ||
|
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