Semiquantitative densitometric measurement of protein microarrays
Project description
proMAD
Semiquantitative densitometric measurement of protein microarrays
Setup
pip install proMAD
You can also install the latest version directly from Github.
pip install git+https://github.com/theia-dev/proMAD.git#egg=proMAD
Usage
ArrayAnalyse
from proMAD import ArrayAnalyse
aa = ArrayAnalyse('ARY022B') # set array type
aa.load_collection('test_cases/exp_data') # set input folder
aa.evaluate("A6") # get result dictionary
aa.get_spot("A6") # get raw data
aa.evaluate() # get result dictionary for all spots
Cutter
- interactive
from proMAD import Cutter
c = Cutter()
c.load_collection('test_cases/raw_image_folder') # set input folder
c.set_shape() # ask for the shape
c.guess_positions() # use a simple guess as a starting point
c.preview() # display guess (uses the last loaded image as default)
c.set_positions() # ask for refined cut positions
c.set_names() # ask for names
c.preview() # check in preview
c.save_images('test_cases/formated_image_folder') # save to folder (will be created if it does not exist
- direct
from proMAD import Cutter
c = Cutter()
c.load_collection('test_cases/raw_image_folder') # set input folder
c.shape = (2, 3)
c.cut_positions = [[20, 225, 445], [40, 130, 217, 315]]
c.names = [['OL', 'ML', 'UL'], [None, 'MR', 'UR']]
c.preview()
c.save_images('test_cases/formated_image_folder') # save to folder (will be created if it does not exist
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proMAD-0.2.0.tar.gz
(24.6 kB
view hashes)
Built Distribution
proMAD-0.2.0-py3-none-any.whl
(28.1 kB
view hashes)