Thursday, March 3, 2011

AnalysisCode now takes lists

As of sha
f3eb120328742230926ccefde88982b75979c025
the AnalysisCode can deal with lists of data directories. It can also deal with downloading data for bacterial genomes.

Today's project

Now that SequenceDownloader has gotten 50 species I need to refactor the AnalysisCode so it can deal with MULTIPLE separate species.  The question is whether I should do a "depth-first" or "breadth-first" method

Breadth First: For each step, (ie. Download, Processing, Alignment, Linkage, Enrichment, figure generation) process all species before advancing to the next step. The advantage here is that it will be the "easiest" option to code since all I'll have to do is modify the generating functions to take new inputs. The disadvantage is that I'll have to wait a while before I get any results (its an "all or nothing" type of approach). I guess I could start my processing by doing breadth-first on only a few (maybe the top 5).

Depth First: For each species do all steps before advancing to the next species. This would be nice because I can get incremental results. However, I think it would require either a complete re-tooling or some drastic "kludging" to get everything working.

As far as how am I going to keep all of the settings together ... I plan to use a YAML document and then keep that in the source-control. That way everything stays together in one place and can be easily modified when required.

Wednesday, March 2, 2011

started downloading all bacterial sequences

Using sha:
3ba1cd6720cd59c6c5da9da18fcfaf3653b5cffd
I started downloading all bacterial species which have at least 7 completed genomes (at count 50 species). The list is in the repository now.
Used command:
python SequenceDownload.py --file DownloadData.txt

Should only take ~30-60 minutes. This where I will also start with the project tag "BacterialLinkage" to describe how I plan to look for evolution of linkage across many bacterial species.

Edit: Actually takes about ~4 hours to download, unzip and aggregate all of the data.

SequenceDownloader now works completely

As of sha:
b1c22eab927963a716ddc5e6968640ba49d77a85
SequenceDownloader.py now downloads and processes the data.

Need to look for interaction mapping software

Dr. T wants an interaction network with Peter's IBD gene lists that incorporates interaction data and GO terms. I'll look around for some web-tools and see if there are any good cytoscape plugins which can do this sort of thing.

Finishing up SequenceDownload.py functions

I'm finishing and polishing the SequenceDownload function in the linkage project. Currently it only downloads data and unzips it. I still need to make a small function which integrates the data into a set of fasta files for each protein.

Tuesday, March 1, 2011

Steve's microarray results

When comparing healthy individuals there were 14 probes that were found in all patients, 190 patients that were in at least 4 patients and 197 in at least 3.

When comparing healthy to infected individuals there were NO PROBES that were conserved between individuals ... only 3 were in the 197 genes mentioned above.

So (at least from this data ... GSE18816 and GSE24533) it doesn't seem that there are genes commonly differentially expressed when infected. However, this dataset is SUPER tiny and not big enough to make conclusions from.