GithubHelp home page GithubHelp logo

jcasadogp / bacterial_growth Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 2.35 MB

This repository contains the script developed for my Master Thesis in gut bacterial growth curves.

Python 94.74% Shell 5.26%
bacterial-database growth-curves python sql

bacterial_growth's Introduction

bacterial_growth

Environment set up

First, you need to set up the environment that contain all the packages that will be used by the program. To do so, run the following commands:

cd envs/
conda env create -f environment.yml

Hello

bacterial_growth's People

Contributors

hariszaf avatar jcasadogp avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

sofiamonsalve

bacterial_growth's Issues

Plot one technical replicates

Change the style of the line such that we can differentiate between the measured points and the lines that are binding those points. In other plotting options it is not necessary has we have the standard deviation bars.

Combination of user input parameters in --createInfoFile

With the positional argument createInfoFile, the user can introduce 3 optional arguments: --num_studies, --num_biological_replicatesand --num_perturbations. The problem is because of the combinations that can be created with this input parameters.
--num_studies is already limited to 0 or 1; only one study can be added at a time.
Is --num_biological_replicates is 1, -num_perturbations can be 0, 1 or N, as all the perturbations will be added in that single new experiment. But, if -num_biological_replicates is N, the perturbations we may add after that will all be included in the last biological replicate introduced in the database.
Solve this in way that is easy for the user to understand the combinations he can make.

Lab files analysis .sh file

When I tried to populate the DB with the command:

python3 main.py populateDB --info_file ../../Desktop/local_thesis_files/yml_files/study_information.yml

The study_information.yml contained these directories for files:

value: /Users/julia/Desktop/local_thesis_files/BT_mucin_RNAseq_3.txt

I got the following error (which started a cascade or errors):

ls: /Users/julia/Desktop/local_thesis_files/BT_mucin_RNAseq_3.txt/: Not a directory

This was because I tried to populate a single file that was not contained in a directory. The code expects a directory, even if it only contains 1 file, for the moment.

Antibiotic and carbon source data

Improve the antibiotic and carbon source's input on the YAML file. Currently, it is only a true/false field, but we should capture much more information about it. For the moment, set it as text file that admits a small description of which antibiotic or carbon source has been used. In case of null/empty, we assume none was used.

These two papers mention both antibiotics and carbon sources:

Displaying tables with BR, TR or perturbation id

When the user selects the createInfoFile or plot options, the program will display (depending on the option) tables with existing studies, biological replicates, perturbations and/or technical replicates. The displayed messages should be revised. For example:

There are no perturbations with biological replicate id 101: => check for technical replicates

This message is OK if then the user is going to select a technical replicate ID (e.g., plotting option 1), bit, if plotting option is 2 (plot one set of technical replicates), the program should not go further, and, hence, that message should not have been displayed.

Serial dilutions

Introduce in the YAML file, in the biological replicate, some field that indicates whether several samples come from the same precultivation but they were serially diluted. Also, include this field in the database. It should follow this logic:

A1:A8 (biological replicate location in the plate) come from the same precultivation, but A1=d1 rate, A2=d2 rate ... A8=d8 rate (add a serial dilution rate) and serial dilution identifier XXX for the 8 BR.

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.