Code Monkey home page Code Monkey logo

chikv_dms's Introduction

CHIKV_DMS

Deep mutational scanning repository for Thomas (Tem) Morrison Lab

This repository contains code to run analysis for deep mutational scanning projects related to analysis for CHIKV.

Table of Contents


Introduction and Overview


The repository contains code for analyzing deep mutational scanning projects, particularly related to CHIKV.

Software Requirements and Dependencies


For script plot_mutational_frequency_and_qc_stats.py:

Installation


There is no installation required, please just clone the repository:

git clone https://github.com/tbrunetti/CHIKV_DMS.git

Then cd into the code directory where all scripts will be present:

cd code  

General Usage


For using the logo_plot_standalone.py script, general use is as follows:

python3 logo_plot_standalone.py --input wtDNA_filtered_df1_dedup.csv --sampleName wtDNA --annotConfig ../ref/annotations_config.csv --codonStartPos 9 

For all possible arguments available, you can run the following:
python3 logo_plot_standalone.py --help

,which will show the following options and their defaults:

usage: logo_plot_standalone.py [-h] --input INPUT [--sampleName SAMPLENAME] [--annotConfig ANNOTCONFIG] [--codonStartPos CODONSTARTPOS] [--codonEndPos CODONENDPOS]
                               [--aaSpacing AASPACING] [--minAnnotLabel MINANNOTLABEL]

Generates logo plot for predefined input matrix

options:
  -h, --help            show this help message and exit  
  --input INPUT         Path to input csv matrix containing data to plot (default: None)  
  --sampleName SAMPLENAME  
                        string indicating the name to give to sample (default: sample_1)  
  --annotConfig ANNOTCONFIG  
                        Path to csv containing annotations. Example file located in ref folder of github repo (default: None)  
  --codonStartPos CODONSTARTPOS  
                        The position of which codon position you want to start at (must be present in your csv matrix provided to --input; default is to plot every position in
                        your matrix) (default: None)  
  --codonEndPos CODONENDPOS  
                        The position of which codon position you want to end at (must be present in your csv matrix provided to --input; default is to plot every position in your
                        matrix) (default: None)  
  --aaSpacing AASPACING  
                        the number of amino acids to show per line on the logo plot (default: 65)  
  --minAnnotLabel MINANNOTLABEL  
                        the minimum length of consecutive amino acids under an annotation bar; anything smaller (non-inclusive) than this value will not have text written in the
                        bar, to help prevent text from overflowing into margins (default: 7)  

chikv_dms's People

Contributors

tbrunetti avatar

Stargazers

 avatar

Watchers

 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.