Giter Site home page Giter Site logo

gawm's Introduction

GAWM: Genome Analyst with Mongodb

Start mongod

# rm ~/share/mongodb/data/mongod.lock
numactl --interleave=all ~/share/mongodb/bin/mongod --config ~/share/mongodb/mongod.cnf

GC wave and bed count

cd ~/Scripts/gawm

# drop db if exists
mongo S288c_gc --eval "db.dropDatabase();"

# generate
perl gen_mg.pl -d S288c_gc -n S288c --dir ~/data/alignment/example/scer/Genomes/S288c --parallel 1

# GC
perl insert_gcwave.pl -d S288c_gc --batch 1 --parallel 8

# CV
perl update_sw_cv.pl -d S288c_gc --batch 1 --parallel 8

# bed count
perl count_bed.pl -d S288c_gc --run insert -f doc/spo11_hot.bed --batch 1 --parallel 1
perl count_bed.pl -d S288c_gc --run count --batch 1 --parallel 8

# stats
perl stat_mg.pl -d S288c_gc --index

genome features: ofgsw

cd ~/Scripts/gawm

mongo S288c_spo11 --eval "db.dropDatabase();"

perl gen_mg.pl -d S288c_spo11 -n S288c --dir ~/data/alignment/example/scer/Genomes/S288c --parallel 1

perl insert_bed.pl -d S288c_spo11 -tag spo11 -f doc/spo11_hot.bed --batch 1 --parallel 8

perl update_sw_cv.pl -d S288c_spo11 --batch 1 --parallel 8

perl stat_mg.pl -d S288c_spo11 --index --by tag --replace ofg="DSBs"

Prof GC wave

cd ~/Scripts/gawm

# drop db if exists
mongo S288c_prof --eval "db.dropDatabase();"

# generate
perl gen_mg.pl -d S288c_prof -n S288c --dir ~/data/alignment/example/scer/Genomes/S288c/VII.fa --parallel 1

# GC
perl -d:NYTProf insert_gcwave.pl -d S288c_prof --batch 1 --parallel 4
nytprofhtml --open

# CV
perl -d:NYTProf update_sw_cv.pl -d S288c_prof --batch 1 --parallel 4
nytprofhtml --open

# stats
perl stat_mg.pl -d S288c_prof

gawm's People

Contributors

wang-q avatar

Watchers

James Cloos avatar  avatar  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.