Open j-andrews7 opened 8 years ago
I've made significant changes to motifs.py since many of these complaints were logged. Which are still valid?
I haven't actually run the code, so it's tough to say. Removing the OptionsList class is probably a good idea for clarity's sake, since it's currently pulling arguments both directly from args and that. The global variables need to be wrapped up, and the code is fairly messy currently in terms of unused variables, old comments, etc.
I know we haven't really implemented any sort of stats to determine significant changes, which would be helpful in weeding out matches, as noted in the first refactor point. I assume you've handled the multiallelic calls in some fashion? If so, that could probably be checked off. I also don't know if you've ran it with the ChIP peaks file or with a motif list with thresholds defined. Probably worthwhile to test those, as they relate to the first bug listed and are just generally important.
Sorry for my lack of contributions, I have a grant due on the 5th and am devoting most of my time to generating data/writing that.
I had not looked at the bug tracker in awhile. That helps, I wasn't sure what had been marked off for that bug. My perspective.
I need to go back through emails and mark off all the questions I asked to make sure those tasks have been done.
Bill
On 11/15/2016 10:13 PM, Jared Andrews wrote:
I haven't actually run the code, so it's tough to say. Removing the OptionsList class is probably a good idea for clarity's sake, since it's currently pulling arguments both directly from args and that. The global variables need to be wrapped up, and the code is fairly messy currently in terms of unused variables, old comments, etc.
I know we haven't really implemented any sort of stats to determine significant changes, which would be helpful in weeding out matches, as noted in the first refactor point. I assume you've handled the multiallelic calls in some fashion? If so, that could probably be checked off. I also don't know if you've ran it with the ChIP peaks file or with a motif list with thresholds defined. Probably worthwhile to test those, as they relate to the first bug listed and are just generally important.
Sorry for my lack of contributions, I have a grant due on the 5th and am devoting most of my time to generating data/writing that.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/j-andrews7/VENUSAR/issues/31#issuecomment-260849474, or mute the thread https://github.com/notifications/unsubscribe-auth/AVelDn00hz61Z3AJvkFXsvnVbPqkTXTfks5q-oLagaJpZM4KVE2k.
Bugs
The way this is currently implemented is, frankly, just mindbogglingly over complex. Should be pretty straight forward, no need for the mess it is now.
Tested
-i, -m, -r, -o, -fm
only).python ./SCRIPTS/motifs.py -i tester.vcf -r /scratch/jandrews/Ref/hg19.fa -m HOCOMOCOv10.JASPAR_FORMAT.fpr_001.TF_IDS.txt -o tester.hocomoco_motifs.vcf -fm
wheretester.vcf
was just the first 1000 lines of the large VCF file.-ci, -co
args).-bp, -pc, -th, -ws, -sk
)Refactors/Enhancements
OptionsList
use. Really want the main function to be importable.