Giter Site home page Giter Site logo

ima3_input's Introduction

Input generator for IMa3 <ORG_NAME>

This is a Snakemake pipeline to convert genetic variant information in VCF format to a format used for inference in IMa3. Essentially, this is an automated application of the Popgen Pipeline Platform for a specific application.

Installation

There are no specific installation steps required for this pipeline other than having the required dependencies. One can begin by cloning the repository to their local machine:

git clone [email protected]:Chris1221/IMa3_Input.git
cd IMa3_Input

To install all of the required dependencies, you may use the conda environment provided.

Assuming that you have conda installed locally, activate the environment by using the provided file.

conda env create --file=env.yml
conda activate ima3_input

Usage

For basic usage, the only file you need to edit is config.yaml. This file is read by the pipeline and steps are performed according to your personal set up.

The required options that you need to edit are:

  • input: The file path to your VCF.
  • analysis_name: A unique identifier for this run of the pipeline.

Edit the configuration file to give your options:

- name: 
+ name: /path/to/your/file.vcf.gz

- analysis_name: 
+ analysis_name: my_first_run

Run the pipeline by using either the input or run directives.

snakemake input -j1 # -j1 means to use a single core
snakemake run -j20

The inference_parameters section of the configuration file is flexible. If you include an option here, it will be given as a flag to IMa3.

Notes

  1. IMa3 is not easily installable, so you will have to go through the process yourself by following the official guide. Tell the pipeline where your installation lives by editing the -ima3_path variable in the inference_paramters section of the config file (the leading dash is to allow for two dashes when executing the script).
  2. You can run a test version of the pipeline on 10k variants from SGDP by not editing the configuration file. This is a good way to check that all dependencies have installed correctly.
  3. A description of IMa3's extensive list of options is beyond the scope of this project, please check out the documentation PDF (and good luck...).

ima3_input's People

Contributors

chris1221 avatar

Stargazers

 avatar

Watchers

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