Giter Club home page Giter Club logo

scripts's Introduction

scripts

Collection of scripts written to help with my research

confint.py

Program to calculate estimates and confidence intervals of portions (uses normal approximation, Clopper-Pearson, Aggresti-Coull, Wilson score with and without continouity correction)

Arguments: number_of_hits sample_size conf_int_percentage

the last argument is optional, 95 is assumed if missing

Example:

python3 confint.py 32 48 99

This means 32 positive cases in 48 data points, 99% conf. interval requested.

See the code (or a textbook) for comments on the various methods. The script requires scipy to be installed in your python environment. (Type pip3 install scipy if not sure.)

rasx2xy.py

Extracts the diffraction profile from a Rigaku {basename}.rasx file to {basename}.xy file. Only tries to extract a single (i.e. the first) profile.

Type python3 rasx2xy.py -h to see command line options.

splitmol2.pl

Splits a mol2 file into separate files for each residue (requires perl5).

./splitmol2.pl name.mol2 will create name-1.mol2, name-2.mol2 ..., containing residues 1, 2, ... of the original molecule, respectively. It is desinged to work with single-molecule mol2 files.

scripts's People

Contributors

elfabx avatar

Watchers

 avatar

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.