Skip to main content

Semiquantitative densitometric measurement of protein microarrays

Project description

proMAD

Semiquantitative densitometric measurement of protein microarrays

PyPi Status Github issues Build License

Setup

pip install 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.1.0.tar.gz (23.1 kB view hashes)

Uploaded Source

Built Distribution

proMAD-0.1.0-py3-none-any.whl (26.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page