Code Monkey home page Code Monkey logo

384-well-data-format's Introduction

384-well-data-format

Reformats data for 384-well-plate screen to be better suited for plotting

Repository Contents:

  1. This README
  2. A copy of the MIT License
  3. requirements.txt, for quick install
  4. simplified-melt-data-test.xlsx, a sample input file to see formatting of input data
  5. simplified-melt-data-test-out.xlsx, a sample output file to see what formatting of output data will look like
  6. pivot_wellplate_data.py, the python script that will turn the input into the output

Setup tl;dr:

  1. Download the repository
  2. Make a new virtual environment
  3. Install requirements
  4. Add your files to the folder the script is in (input and output)
  5. Run the script

Setup (click by click, for Mac users):

All things in curly brackets can be replaced with the relevant file name etc.

  1. Download the repository (green button on main page)
  2. Put the folder somewhere convenient, probably in a folder that doesn't have spaces in its name or your desktop
  3. Open Terminal, navigate to that folder (use "cd {directory name}" to go to a particular folder, use "ls" to list what is in the folder you are currently in, use "pwd" to get the path to the folder you're currently in)
  4. Navigate into the folder you downloaded
  5. Make a new virtual environment (type "python3 -m venv {virtual environment name}")
  6. Activate your new virtual environment (type "source {virtual environment name}/bin/activate")
  7. Make sure you can run the python script (type "chmod +x pivot_wellplate_data.py")
  8. Use pip to install the requirements file (type "pip install -r requirements.txt")

At this point you should be set! To test your setup, you can use the sample file and the run instructions (move sample file to the same folder as the python script and make a new output folder)

To run:

python3 pivot_wellplate_data.py {input file name} {raw output file name} {processed output file name}

You will see file read and file written messages print to the command line as the script runs

Formatting files:

Recommendation: name the files without spaces to avoid issues Input files should be Excel files This script will only work if you have complete columns (although you don't need a full plate's worth of data) There should be 3 columns: Well Position, Temperature, Fluorescence (modify the script if you are repurposing for other data, this was written for thermal stability) Well Position should be in letter number format (e.g. A1, B2, etc)

Processing details

Designed for thermal shift, normalizes each well to its max and min reading (reading-min)/(max-min)

Output files should be empty excel files, saved with names

Put both files in the same folder as the python script and you're good to run!

384-well-data-format's People

Contributors

mshyu24 avatar

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.