Coder Social home page Coder Social logo

findenzymes's Introduction

FindEnzymes

Description of scripts

  • extract_SNP.jl: This script extracts the SNP/Indel/Ins/Del/Dup from a cosmic mutation file.
  • modify_rawDNA.jl: This script modifies the raw DNA sequence to a new DNA sequence using mutation information.
  • process_cond*.jl: This script find the mutations that are under different conditions.
  • filter_step*.jl: This script filters the mutations that are under different conditions.
  • check_cond4.jl: This script checks the results of condition 4.

How to use the scripts

  1. Install Julia from https://julialang.org/downloads/
  2. Install the required packages by running the following command in the terminal:
add BioSequences
add FASTX
  1. Run the scripts by running the following command in the terminal: 3.1 Extract the SNP/Indel/Ins/Del/Dup from a cosmic mutation file:
julia extract_SNP.jl

3.2 Made a bedfile from the mutation file and then extract the DNA sequence from the bedfile using bedtools 3.3 Made a new DNA sequence using the mutation information:

julia modify_rawDNA.jl

3.4 Find the mutations that are under different conditions:

julia process_cond1.jl
julia process_cond2.jl
julia process_cond3.jl
julia process_cond4_1.jl
julia process_cond4_2.jl
julia process_cond5.jl

3.5 Filter the mutations that are under different conditions:

julia filter_step1.jl
julia filter_step2.jl
julia filter_step3.jl
julia filter_step4.jl
julia filter_step5.jl

3.6 Check the results of condition 4: for example:

python3 check_cond4.py chr22:41140144 REs.tsv AspS9I "p41140140|CGNCC|0" flIII
usage: check_cond4.py [-h] coordinate enzyme name meta matched

Fetch a sequence around a given position with the position highlighted.

positional arguments:
  coordinate  Chromosome coordinate in a format like: chr2:123456
  enzyme      The file of the enzyme
  name        The name of the enzyme
  meta        meta info
  matched     The name of the enzyme

options:
  -h, --help  show this help message and exit

findenzymes's People

Contributors

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