dondraper
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # VernaML [repo link](https://github.com/Jonbroad15/vernaml) ## Overview ### 0. Data Collection / Annotation (RNAGLib) 1. Retrieve set of RNAs from PDB 2. Find RNA-(protein/rna/ligand/ion) interface positions 3. Slice graphs into interfaces and non-interface 4. Find labels for binding partners (later after we try binary prediction) *This part of the project is now moved to another document. See RNAGLib* :::success ### 1. Tune VeRNAl to produce a fingerprint 1. Use binary prediction task to experiment with vernal params 2. Start with prebuilt metagraphs 3. Try building metagraphs with the interface graphs - *if the metagraph has a higher proportion of interface motifs then we might get better results in predicting them* 4. Analyze motif importance 5. Tune Vernal fuzzyness ### 2. Train a model to predict RNA-(protein/rna/ligand/ion/functions) 1. First predict with simple classifiers on motif fingerprint (SVM) 2. Make prediction model without fingerprint using RGCN 3. Incorperate fingerprints as node attributes in RGCN ::: :::warning ### 4. Pipelining and Testing 1. Refactor all code written 2. Turn the whole thing into one big python 3. Test all code written 4. Update repo with clear instruction on how to use ::: ## TODO ### Motif Importance - [ ] Graph feature importance into histogram - [ ] Show other contexts of transcription case study motif - [ ] Use FR3D to search for motif in other structures - [ ] Graph its importance on other datasets - [ ] Update `get_weights` function to use l1 regularization - [ ] Have a relook at maximal only motifs calculation - [ ] Analyse motif importance for other tools too - [ ] Rerun motif importance after RNAGlib data cleanup - [ ] Compute more classifier stats (F1, recall, precision) - ## Resources/Papers #### Papers [What are RNA Motifs](https://www.sciencedirect.com/science/article/pii/S0959440X06000807) [VeRNAl Paper](https://arxiv.org/abs/2009.00664) [RNAMigos](https://academic.oup.com/nar/article/48/14/7690/5870337) [Maetschke & Yuan 2009](https://link.springer.com/article/10.1186/1471-2105-10-341) [Maticzka *et al* 2014 (graphprot)](https://genomebiology.biomedcentral.com/articles/10.1186/gb-2014-15-1-r17) [Zhang *et al.* 2016](https://academic.oup.com/nar/article/44/4/e32/1851554) [Yan and Huang 2017](https://academic.oup.com/bioinformatics/article/34/3/453/4222634) [RNA drugs review](https://pharmrev.aspetjournals.org/content/72/4/862.full) [RNA 3D motif](https://rnajournal.cshlp.org/content/14/12/2489.short) [RNA 3D motif Atlas (BGSU Motifs)](https://rnajournal.cshlp.org/content/19/10/1327.short) [JAR3D](https://academic.oup.com/bioinformatics/article/26/21/2689/213314) [FR3D](https://link.springer.com/article/10.1007/s00285-007-0110-x) [CaRNAaval](https://academic.oup.com/nar/article/46/8/3841/4955759) #### Repos [Graph drawing in 3D](http://jwgitlab.cs.mcgill.ca/cgoliver/lw3d) [VeRNAl](https://github.com/cgoliver/vernal) [Migos](https://github.com/cgoliver/RNAmigos) [RNAfold](http://rna.tbi.univie.ac.at/cgi-bin/RNAWebSuite/RNAfold.cgi) ## Ideas * Make predictions at the graph level * Use SSE decomposition to predict long-range RNA-RNA-interactions ## Citations - BGSU RNA Site - Leontis, N. B., & Zirbel, C. L. (2012). Nonredundant 3D Structure Datasets for RNA Knowledge Extraction and Benchmarking. In RNA 3D Structure Analysis and Prediction N. Leontis & E. Westhof (Eds.), (Vol. 27, pp. 281–298). Springer Berlin Heidelberg. doi:10.1007/978-3-642-25740-7_13 # Results | Dataset | # Graphs | # Avg. Nodes | # Edges | Download Link | | -------- | -------- | -------- | ----- | ---- | | RNA-RNA | | | | | | RNA-Protein | | | | | | RNA-Small Mol. | | | | | | RNA-Ion | | | | | # Data * [motif JSON](https://mega.nz/file/BCIQXIhL#5HP0zegbtf9C2QJ4LRVaoB8N5OXwClsl792St18z9kk) * [vernal motifs](https://mega.nz/file/AHg0jQwB#hFpnDoVvCIT7lenWw-2tonsFYnIQoVUyPYqRQ5phd6k) ## Progress / Log *every week update with new TODOs and move completed TODOs into the Log* ### Week 10 (Interim Wrap up) - [x] Receive feedback and redraft - [x] Abstract - [x] submit to Yue Li by next the the follow Tuesday - [x] At the node level try implementing one hops to get all motifs for nodes around that node - *AUROC increase ~= 0.1* - [x] Make a set of cutoff = 5 Angstroms ### Week 9 (interim report writing) - [x] Introduction - [x] Methods - [x] Datasets - [x] prepare_data - [x] train - [x] Results - [x] datasets - [x] model performance - [x] visualizations - [x] Discussion - [x] References ### Week 8 - [x] Write script to make motif fingerprints `train/onehot_encoder.py` - Overall goal: given a node/graph output a list of motifs which it belongs to - [x] Build_onehot_nodes - [ ] Build_onehot_graphs - *Graphs is a little bit trickier. Need to slice and subset* - [x] Debug missing keys in ion graphs - [x] Make binary predictions at node level and get accuracy estimates - [x] Build onehots with Carnaval and 3d motif atlas libraries - [x] k-fold cross validation ### Week 7 - [x] fix `README.md` and errors with Mega - [x] include some example images with chimera - Maybe draw some 3D structures with superposed graph. See [this repo](http://jwgitlab.cs.mcgill.ca/cgoliver/lw3d). - [x] create PDB annotations file for graph level predictions ### Week 6 - [x] Balance complement data set. - For each interface, sample one random node, expand that node with bfs_expand until number of nodes is equal to the interface. - [x] Add annotations at the node level - for protein and rna: True/False - for Ion/Ligand: give name - [x] Test balancing is working correctly - [x] Debug segmentation fault - [x] Describe training data (make a table with #nodes, #graphs, #edges, download link) - [x] upload training data to mega - [x] update repo with *How to get data* section - "VERSION 0 of DATA" ### Week 5 - [x] Set up working with Chimera for sanity checks on interfaces - [x] Debug ligand annotations - Gotcha: Nucleic acid bases can also be ligands! - *Was initially computed by finding all non-polymer binding partners than taking those that were above a molecular mass threshold but found a molecule called A in list* - FIX: added another conditional in ligand checking to make sure residue is non-polymer in `interfaces.py` - [x] Rewrite data collection into script (currently notebook) - Gotcha: Was initially only collecting Representative structures but there exists redundancies within chains - Adjust script to retrieve specific chains to create the data set - But we need all chains in the structures to find interfaces between chains? - *Check this with Carlos* - [x] Clean up sliced graphs to be connected. - see `graph_utils.py` - For disconnected graphs: - connect them if possible by adding just 1 or 2 edges (less than a threshold) - otherwise put into seperate files ### Week 4 - [x] Modularize and refactor data collection / data annotation - remove src dir and put everything in prepare_data - write `prepare_data/main.py` - [x] test and debug data annotation / data collection - *DEBUGGING: when getting interfaces on 5fk3 it's not getting any in the list. RNA molecule with a SAM ligand.* ### Week 3 - [x] Set up and debug vernal environment set up on local machine - [x] Write a scrip to subset RNA graphs into those with interfaces `slice.py` - [x] Change interfaces to ignore DNA and disinguish between ions and ligands using ligand list downloaded from PDB - [x] test `interfaces.py` - [x] debug `interfaces.py` ### Week 2 - [x] debug `retrieve_structures.py` - [x] test and validate data collection - [x] Write a script for finding interfaces: `interfaces.py` ### Week 1 - [x] Read Biopython tutorial and watch videos - [x] Data exploration on PDB data and working with CIF files - [x] Write a script to retrieve representative set of RNA molecules `retrieve_structures.py`

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully