Giter Site home page Giter Site logo

rcsb / rnaview Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 2.0 14.39 MB

RNAView identifies base pairs that are formed in nucleic acid structures and classifies them according to the system of Leontis and Westhof

License: Apache License 2.0

Makefile 0.12% C 20.19% PostScript 79.64% Shell 0.05%

rnaview's Introduction

RNAView

RNAView identifies base pairs that are formed in nucleic acid structures and classifies them according to the system of Leontis and Westhof. The software presented here was originally described in Yang, H., Jossinet, F., Leontis, N., Chen, L., Westbrook, J., Berman, H.M., Westhof, E. (2003). Tools for the automatic identification and classification of RNA base pairs. Nucleic Acids Research 31.13: 3450-3460, https://doi.org/10.1093/nar/gkg529

RNAView release version 2.0.0 (Jan 2024) supports mmCIF file input, yielding results identical to PDB file input.

Introduction

RNAVIEW program quickly displays the secondary structure of RNA/DNA with tertiary interactions. It fully implements Leontis and Westhof's convention for the edge-to-edge hydrogen bonding interactions.

Leontis NB and Westhof E. (2001) Geometric nomenclature and classification of RNA base pairs. RNA 7:499-512. https://doi.org/10.1017/s1355838201002515

The software has been tested in Linux and UNIX (SGI), MAC, SUN systems

Installation

You can install the program in any directory.

  1. unpack the program package in the desired directory (e.g. /?/?/?/ ).

    zcat  RNAVIEW.tar.gz | tar xvf -
    
  2. install the program

    cd /?/?/?/RNAVIEW/
    make
    

    The executable file rnaview will be in the directory /?/?/?/RNAVIEW/bin/.

  3. Define RNAVIEW environment variable to point to the installation directory (e.g. /?/?/?/RNAVIEW) Add the following command to your shell script

    For C shell users:

     setenv RNAVIEW /?/?/?/RNAVIEW
     setenv PATH "/?/?/?/RNAVIEW/bin:"$PATH
    

    For Bourne shell users:

    RNAVIEW=/?/?/?/RNA/RNAVIEW; export RNAVIEW
    PATH="/?/?/?/RNAVIEW/bin:"$PATH; export PATH
    
  4. To test the program, go to /?/?/?/RNAVIEW/test

    rnaview -p tr0001.pdb
    

    You should get a postscript file *.ps and some other output files.

Usage

type rnaview or rnaview -h to get an online help.

Usage: executable [option] input_file

Options

  1. If no [option] is given, it will only generate the fully annotated base pair lists. Example: rnaview pdbfile_name
  2. [option] -p to generate fully annotated 2D structure in postscript format. Detailed information is given in XML format(RNAML) Example: rnaview -p pdbfile_name
  3. [option] -v to generate a 3D structure in VRML format. It can be displayed on internet (with VRML plug in). Example: rnaview -v pdbfile_name
  4. [option] -c to select chains for calculation. -c should be followed by chain IDs. If select several chains, they should be put together, like ABC for chain A, B and C. This option is useful, when drawing a single copy of 2D structure from a dimer or trimer PDB file. Example: rnaview -pc ABC pdbfile_name
  5. [option] -a to process many pdbfiles. The pdbfile names must be put in one file (like file.list) and seperated by a space. You may give the resolution after file.list. If you do not give (or give 0), it means resolution is ignored Example: rnaview -a file.list 3.0 means that only the pdbfiles with resolution < 3.0 are selected for calculation.
  6. [option] -x to input XML (RNAML) file. Normally this option is combined with -p to generate a 2D structure. Example: rnaview -px RNAML_file_name
  7. [option] --label processes mmCIF files using mmCIF atom_site.label_xxx data (database-provided chain ids, residue numbering, altcodes). If not provided, the program will use atom_site.auth_xxx data (author-provided chain ids, residue numbering, altcodes). Example: rnaview -p --cif --label ciffile_name. This will use label for parsing. Example: rnaview -p --cif ciffile_name. This will auth for parsing because it is default.

NMR structures

The program will automatically pick the best NMR model according to the REMARK record of the pdb file. If there is no best model in the PDB file, it will pick the first model from the ensemble.

Update

Nov 21, 2023: RNAVIEW permits MMCIF inputs.

rnaview's People

Contributors

dhruvsatyapanthi007 avatar trprcll avatar brindakv avatar

Stargazers

Daniil Melnichenko avatar  avatar Chris Arcadia avatar Thomas Mulvaney avatar Fabrice Jossinet avatar Marco Matthies avatar Jeff Carpenter avatar Takumi Otagaki avatar Scott Classen avatar Shri Kant Kaushik avatar Marcin Magnus avatar Chaitanya Joshi avatar

Watchers

Jose Manuel Duarte avatar  avatar  avatar  avatar

rnaview's Issues

Multiple `~` temp files in repo and missing `obj` dir

There are numerous files in src with a ~ at the end. I assume this was accidentally committed as these are likely the result of using gedit or vim or something to edit the files?

Also in order to get the code to compile I needed to manually create the obj directory.

Make error: ./src/xml2ps.c:2270:5: error: call to undeclared function 'get_BDIR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_BDIR(BDIR, ps_image_par);

I did the following commands,

git clone <url>
cd RNAview
make

then, error occured:

./src/xml2ps.c:2270:5: error: call to undeclared function 'get_BDIR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    get_BDIR(BDIR, ps_image_par);

I checked RNAview/include/xml2ps and find that get_BDIR function isn't declared.
So after adding

void getBDIR(char *BDIR, char *parfile);

in line 18 in RNAview/include/xml2ps.h,
it works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.