Giter VIP home page Giter VIP logo

ny-shao.utilities's Introduction

README

A repo for my utilities.

  • table_header.py

Just for the boring counting before I do R scripting. Check the columns of the tables.

Options:

  -h, --help            show this help message and exit
  -l LINE_NO, --lines=LINE_NO
                        header lines to be printed.
  -d DIRECTION, --direction=DIRECTION
                        direction of printing. v or h.
  -t TAB_WORD, --tab=TAB_WORD
                        tab word. s or t. s: space. t: tab.

For example:

./table_head.py annotatePeaks.txt # It is a table generated by HOMER of a ChIP-seq dataset.

col*0                                   |col*1|col*2|col*3|col*4 
PeakID (cmd=/home/....t/TvsC_down_HOMER)|Chr  |Start|End  |Strand
------------------------------------------------------------------------
col*5     |col*6                  |col*7     |col*8              
Peak Score|Focus Ratio/Region Size|Annotation|Detailed Annotation
------------------------------------------------------------------------
col*9          |col*10            |col*11   |col*12         
Distance to TSS|Nearest PromoterID|Entrez ID|Nearest Unigene
------------------------------------------------------------------------
col*13        |col*14         |col*15   |col*16    |col*17          
Nearest Refseq|Nearest Ensembl|Gene Name|Gene Alias|Gene Description
------------------------------------------------------------------------
col*18   
Gene Type
  • intersectSet.py:

A script mimic of bedtools for gene lists.

> ./intersectSet.py --help
usage: intersectSet.py [-h] -a A -b B [-v]

Mimic of bedtools to manipulate gene list set

optional arguments:
  -h, --help  show this help message and exit
  -a A        SetA
  -b B        SetB
  -v          specific of setA
  • convertEnsembl2Symbol.R

A script to add a column of gene symbol to correspondent ensembl id.

 args[1]: file name, only csv or txt
 args[2]: column number of ensembl_id
 args[3]: if "1", input file with header; other: no header.

ny-shao.utilities's People

Contributors

ny-shao avatar

Stargazers

 avatar Source Codes for Computational and Theoretical Life Science avatar Li Shen avatar  avatar

Watchers

 avatar

Forkers

likelet

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.