Coder Social home page Coder Social logo

css's Introduction

Compare splicing site between genomes (CSS)

required environment

  • Python โ‰ฅ 3.6
  • pandas
  • numpy
  • pysam
  • pyliftover

importance!, you must to change the lastz.py in this package to specify absolute paths to software like lastz and UCSC et al.

#* lastz.py
lastZ = 'software/lastz-1.04.03/lastz-distrib/bin/lastz'
axtChain = 'software/ucsc_kentUtils/v389/bin/axtChain'
chainSwap = 'software/opt/bio/software/ucsc_kentUtils/v389/bin/chainSwap'
chainSort = 'software/opt/bio/software/ucsc_kentUtils/v389/bin/chainSort'

paraments:

  • -g1 GTF/GFF3 for genome A
  • -g2 GTF/GFF3 for genome B
  • b1 gene bed file for genome A
  • b2 gene bed file for genome B
  • -fa1 genome sequence file for genome A, the sequence must be index with samtools
  • -fa2 genome sequence file for genome B, the sequence must be index with samtools
  • -orth homoeologous pairs file
  • -w flank sequence between splicing site, default 100bp
  • -o output file
python main.py  -h 
usage: main.py [-h] [-g1 G1] [-g2 G2] [-b1 B1] [-b2 B2] [-fa1 FA1] [-fa2 FA2] [-orth ORTH] [-w W] [-o O]

optional arguments:
  -h, --help  show this help message and exit
  -g1 G1      GTF/GFF3 for genome A
  -g2 G2      GTF/GFF3 for genome B
  -b1 B1      gene bed file for genome A
  -b2 B2      gene bed file for genome A
  -fa1 FA1    genome sequence file for genome A
  -fa2 FA2    genome sequence file for genome B
  -orth ORTH  homoeologous gene pair file
  -w W        window size, default 100bp flank from splicing site
  -o O        output file

header of output

  1. geneId1 geneID from genome A
  2. geneId2 geneID from genome B
  3. isoformId1 isoform ID from genome A
  4. isoformId2 isoform ID from genome B
  5. IntronCount1 intron count for isoformId1
  6. IntronCount2 intron count for isoformId2
  7. ConservedSiteCount count of conserved splicing site between genomes
  8. ConservedSites conserved splicing sites between genomes

css's People

Contributors

zpliu1126 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.