Git Product home page Git Product logo

dataminer's Introduction

For any question, ask Stephen Fung ([email protected]) at Pacific Agri-Food Research Centre in Agassiz, BC

This script is primarily for local computer (where all the experimental results are stored the local computer) with limited memory. A version that will be optimized for the biocluster computer is in development

Instruction for using the dataMiner script on a local desktop:

The script will search and analyze the results of a given organism from the Automated Identification Pipeline (Auto ID) and the Oligo Fishing Pipelines (OFP) of the SAGES project. The output is a csv file that indicates that abundance of the bacteria/fungi (input by the user) in each sample with the relevant meta information (Location, collector, date, climate…etc) of each sample. The csv file can be used for downstream analysis (development in progress)

It requires Python 2.7 with Biopython and Pandas installed 

To execute the script, in command line:

python dataMiner.py "rank of the organism classification" "name of the species" "Directory of the Summary Logs (Auto ID Results) with the file extensions" "SAGES Meta information in CSV"  "OFP Result File" "Yes/No"

Yes = Display ONLY the Samples with the organism in the output
No = Display all the Samples in the output

Example:

python dataMiner.py genus Streptococcus ./rs75_Summary_Log/*.summaylog ./input/454_sample_summary_with_climate.csv ./input/Streptococcus_spp.Streptococcus_spp.txt.withmeta.fna.fasta No

This will produce a csv file that indicates which sample contains the Streptococcus bacteria. The abundance of Streptococcus in each sample will be displayed. The meta information (location, collector, date, climate..etc) will also be displayed in the csv file

dataminer's People

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.