GithubHelp home page GithubHelp logo

mgrastpull's Introduction

mgrastPull

This script makes use of the mg-download.py script available through MG-RAST-TOOLS. It will download a provided list of MG-RAST metagenome IDs, gzip all retrieved .fastq files, then delete any extraneous files.

Example Usage

$ python2 mgrastPull.py list_of_ids.txt /path/to/download/folder/ /path/to/MG-RAST-TOOLS

Parameters

raw_list_of_ids: path to .txt file with IDs targeted for download

root_path: path to store downloaded files

mg_rast_tools: path to cloned MG-RAST-TOOLS repository i.e. /home/dussaultf/PycharmProjects/MG-RAST-Tools

Input File Example

The dataset file should have each ID on a newline.

Example: datasets.txt

4580694.3
4580695.3
4580696.3
4580697.3
Requirements

https://github.com/MG-RAST/MG-RAST-Tools

  • Python>=2.7 (MG-RAST-Tools does not support Python3)
  • prettytable
  • requests
  • requests_toolbelt
  • scipy
  • numpy

mgrastpull's People

Contributors

forestdussault avatar

Watchers

James Cloos 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.