GithubHelp home page GithubHelp logo

zormit / compbio-winter14 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 457 KB

Code of our scientific research project for the lecture of Computational Biology at TU Berlin in winter 2014/15.

Python 55.65% Shell 1.35% TeX 43.00%

compbio-winter14's Introduction

noisy constraint analysis
=========================

Configuration
-------------

An example config can be found in `paths.cfg`. You most certaintly have
to adapt it, such that your rosetta binaries and database are linked.
Also make sure that for a protein with <pdb-id>, the input directory contains
a directory with the same name and the following files:

* Sequence File: <pdb-id>.fasta
* Native Protein: <pdb-id>.pdb
* Fragment Files: <pdb-id>.200.9mers, <pdb-id>.200.3mers
* Noisy Constraint File: <pdb-id>_contact_constraints.txt

Example structure of my input directory:

    $ ls Data/input/**
    Data/input/2h3jA:
    2h3jA.200.3mers  2h3jA.200.9mers  2h3jA_contact_constraints.txt  2h3jA.fasta  2h3jA.pdb

    Data/input/2krkA:
    2krkA.200.3mers  2krkA.200.9mers  2krkA_contact_constraints.txt  2krkA.fasta  2krkA.pdb

The section [filename] normally does not have to be changed.


Basic Usage
-----------

To run the script, call:

    ./runExperiment.py <config-filename> <pdb-id>

When the run is successful, a lot of files will be generated:

1. <input-dir>/<pdb-id>/generated/ will contain a constraint-file with the
   measured native distances as a new column for each constraint/residue-pair.
2. <output-dir>/<pdb-id>/ will have a subdirectory for each prediction with.

   a) the constraint subset file, which will guide the prediction
   b) the standard rosetta output, with decoys (pdb&silentfile) and score.fsc
   c) the rescored scorefile (standard: scoreV2.fsc), with constraint-penalty-free scores.

3. <plot-dir>/<pdb-id>/ will contain lots of plots.

*Attention*: all these files will be overwritten by the scripts on a re-run.
           (except decoys. to overwrite them, delete default.out in a subdir.)


-----
Flags
-----

* `-debug/-d` runs rosetta in a debug mode, i.e. without relaxing
  and only predicting two decoys.
* `-verbose/-v` gives you more information about what happens on the console.
  but all this information and more can be found in the logfile anyway.

constraint subset generation methods
------------------------------------

The datastructure to choose a constraint is basically an adjacency matrix,
where a number >= 0 denotes a chosen residue pair. Same number means same subset.

To add other constraint subsets, simply add a matrix
to the three datastructures in `generate_constraint_subsets()`.

custom plots
------------

The plotting "system" is written in a way, that it is possible to compare different groups of subsets.
For example, to use another target or baseline, modify the string variables accordingly.

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.