Giter Club home page Giter Club logo

snp-ml's Introduction

SNP-ML is A machine learning dependent tool for SNP calling in polyploidy organisms

this program requires the following packages:

the user can check if s/he has any of these package/versions by running the python command:

pip list|grep package_name

  example: pip list|grep scipy

If any of these pacakges are not availble, it should be downloaded and installed before running SNP-ML. the user may use the following command to directly install a specific package:

pip install 'package==version'

  example: pip install 'numpy==1.11.0'

After downloading and extracting SNP-ML, the user probably needs to run chmod command if s/he has a permission issue, EXAMPLE: chmod 777 SNP-ML

the program takes vcf file as input, the input file can be SWEEP output or the output of calling SNPs by samtools mpileup or any other tools, in case of using samtools/bcftools, the user should use -m option (not -c) when he/she calls SNPs, EXAMPLE:

  1. samtools faidx reference.fa
  2. samtools mpileup -g -f reference.fa genotype1.bam genotype2.bam genotype3.bam > output.bcf
  3. bcftools call -vc -V indels output.bcf > output_snps.bcf
  4. bcftools convert output_snps.bcf -o output_snps_input4snpml.vcf

the program was tested and works fine with samtools 1.2 and bcftools 1.2.1

help file containing the information for running the program can be retrieve by typing SNP-ML -h or SNP-MLer -h

testing vcf is available in the extracted files, dna_test.vcf, it can be run by the following command as examples:

  ./SNP-ML -i DNA_test.vcf -iM peanut_DNA -o output_test

  ./SNP-ML -i DNA_test.vcf -iM sim_peanut_two_10x -o output_test

creating a new model command examples:

  ./SNP-MLer -iTP TP_five_genotype_10x_snps.vcf -iFP FP_five_genotype_10x_snps.vcf -o sim_peanut_five_10x

NOTE: An extendable database is available (db), the user can donwload the desired database into the 'db' folder of SNP-ML.

snp-ml's People

Contributors

w-korani 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.