Closed sumanex closed 11 years ago
I would recommend going step-by-step through the tutorial at http://packages.python.org/metaseq/example_session.html to see how the framework works. You should be able to just replace the metaseq.example_filename(...)
lines with the simple string paths to your files, and for dbfn
, use the path to your newly created database.
As the tutorial shows, you don't have to create separate genomic_signal objects, and you don't have to set up your own minibrowser -- SignalMiniBrowser or otherwise. The Chipseq class takes care of it all for you.
The hardest part is probably choosing which features to look at, but the tutorial walks you through generating a first-draft version of TSSs of gene bodies.
The methods Chipseq.diffed_array and Chipseq.plot do most of the work for you.
If at some point you wanted to use a SignalMiniBrowser directly, import it with from metaseq.minibrowser import SignalMiniBrowser
(but again it's not needed here).
Thanks for your reply to the db issue ffrom gtf files for mm9. Actually finallyi want to make tss plots and heatmap from my bam files. so I created the db object
But for basic plotting checking . All my files bam and db are in working directory "Downloads"
help with the commands will be very helpful.(minibrowser.py file is presen tin metaseq folder)
suman