Biostar Beta. Not for public use.
Affymetrix Microarray Analysis In Python
1
Entering edit mode
3.2 years ago
Will 4.5k
United States

I was wondering if anyone knew of some python projects for microarray analysis, specifically reading in Affy Cel files. I know about An intuitive Python interface for Bioconductor libraries demonstrates the utility of language translators and the other projects to link R and Python. I'd love a native python project if possible.

python microarray • 6.6k views
ADD COMMENTlink
2
Entering edit mode
ADD COMMENTlink
2
Entering edit mode
16 months ago
popantrop • 40

I have written a parser in pure python 3, which can deal with Affymetrix CEL files, version 4. This version is difficult to parse, because it's binary and poorly documented. Data produced from Human Exon Chip should be compatible with this parser.

If you're interested in parsing other versions of CEL files, give me a shout and I'll see what I can do :)

ADD COMMENTlink
0
Entering edit mode

Actually, I've just checked and the code works also with python2

ADD REPLYlink
0
Entering edit mode
ADD COMMENTlink
0
Entering edit mode

Thanks for the links but I'm really looking for something for reading the Cel files. I already know the vast number of stats projects in Python (that's exactly why I want to read the cel files in without doing a dance with R modules).

ADD REPLYlink
4
Entering edit mode

You really don't have to do much of a dance, just by skimming the Bioconductor documentation you could copy a few lines of R that will read your CELs, normalise, correct etc. and export to a plaintext format which you could then look at in Python (personally I'd stick with R throughout but I feel that'd be a much harder sell to yourself if you're proficient in Python and have no R experience).

ADD REPLYlink
4
Entering edit mode

Agree with these points. Sometimes it's better to invest effort learning an existing tool (in this case R/Bioconductor) than reinventing the wheel, just for the sake of using your pet language.

ADD REPLYlink

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.1