Monday, February 28, 2011
Doing steve's microarray stuff
I'm doing the analysis for Steve Smith's microarray data. We've looking to compare the genes which are different between influenza patients in the "uninfected" state. We noticed that there is a large difference between individuals that is independent of their infected state ... so it doesn't make sense to group infected vs. uninfected together since they have such an inherent difference.
HCV stuff still processing
The HCV stuff is still processing but it seems to be about 2/3rds done. Hopefully it will finish within a day or so.
Friday, February 25, 2011
Adding new functionality to publookup
I need to be able to do "gene enrichment" instead of "article enrichment". I made modifications to entrezpublookup.py to facilitate this. Now using sha: 7d6fb2540e604dd4f200e0b1014b71adb046c9f5
I re-ran the results for Peter's gene lists using the command:
I re-ran the results for Peter's gene lists using the command:
python entrezlookup.py -s lists/testlist.txt -o lists/PeterResults.txt -g lists/GeneLevelOutput.txt --gene-based lists/GeneBasedOutput.txt
Not feeling productive today
So I think I'm going to spend some time improving my documentation and unit-test suite for Linkage code. This way I can get some important stuff done without having to actually think much.
Restarted HCV linkage
Things were taking too long on the HCV linkage and the p-values were "inconclusive". I changed the code so it won't calculate p-vals unless asked (otherwise it will just leave that column blank). I restarted the code on sha a792bca5d5d14506b83f1af96a0f0c3201a5c232 and command:
I'll create a function which can go back and recalculates the p-values. I also need to deal with "inconclusive" p-values ... which I'm defining as permutation tests where I never (or only twice) find a value as good as the real value. In a set of 5000 iterations I don't have a good estimate. So I think I'll refactor that function to keep testing until it finds 10 "good" values unless it gets to 100,000 iterations. I'll probably have a minimum of 5000 just to make sure it doesn't get a "lucky break" and find those 10 early.
python AnalysisCode.py --link-lanl --data-dir HCVData/ --workers 3 --max-width 5
I'll create a function which can go back and recalculates the p-values. I also need to deal with "inconclusive" p-values ... which I'm defining as permutation tests where I never (or only twice) find a value as good as the real value. In a set of 5000 iterations I don't have a good estimate. So I think I'll refactor that function to keep testing until it finds 10 "good" values unless it gets to 100,000 iterations. I'll probably have a minimum of 5000 just to make sure it doesn't get a "lucky break" and find those 10 early.
Thursday, February 24, 2011
Current ToDo and brainstorming
Here's a list of stuff I think I need to work on ... in rough priority order:
- Get the Circos diagram setup for the HCV results before its done.
- Setup the statistical look-up table ... this will require an appreciable amount of coding and a large amount of processing time.
- Setup an enrichment score for linked proteins in bacterial genomes.
- Find a better way of organizing the linkage data and making sure everything gets run at once. Now that I'm going to run the analysis on MANY bacterial genomes and comparing results together I need a better way to handle things. Perhaps setting up a YAML list file with the location of data and the parameters. Then I could just run a top-function which calls the resulting functions
Started HCV linkage code
started code on linkage analysis:
So it will calculate single linkages between all pairs with a max-width of 5. It will also find linkage p-values for anything with a value greater than 80%.
python AnalysisCode.py --link-lanl --data-dir HCVData/ --workers 3 -max-width 5on code: a792bca5d5d14506b83f1af96a0f0c3201a5c232
So it will calculate single linkages between all pairs with a max-width of 5. It will also find linkage p-values for anything with a value greater than 80%.
Subscribe to:
Posts (Atom)