Hi, Colin. Sorry you are having such problems. There's a lot of detailed documented that's just not yet written. As you discovered, Picard tools expect the individual Picard jar files to be in tool-data/shared/jars/ eg in one of the tools like rgPicardMarkDupes.xml you'll see -j "${GALAXY_DATA_INDEX_DIR}/shared/jars/MarkDuplicates.jar" And as you figured out .loc files need to be edited to suit your local install. There's http://wiki.g2.bx.psu.edu/Admin/Data%20Integration. There are some changes since that was written, but those .loc files must have valid paths to local copies of the reference genome and index files. (Be careful that you only use tabs to mark columns when you edit them or mysterious breakage will follow) The defaults in tool_data_table.xml should work fine.There are scripted (eg https://bitbucket.org/afgane/mi-deployment ) ways to set these up - it's fiddly by hand but once you've got one genome working, adding new ones is not so bad. On Sun, Aug 14, 2011 at 9:01 PM, colin molter <colin.molter@gmail.com> wrote:
Hello all, I get troubles installing Picard. In short is there a dedicated link with precise instructions on how to install it on Galaxy? I spent hours trying to install it and if I made a subtle step forward in the installation, I am still stuck with exceptions when trying to run any picard tool. My first problem was to have a link to a built-in reference genome. I finally fixed it. I explain my solution here for interested persons. (1) create the 'dict' file from your reference fasta file by using the following picard tool: java -jar CreateSequenceDictionary.jar -R=<ref-genome.fa> -O=<ref-genome.dict> (2) modify the picard.loc index file to point to the correct location (3) -- the step that took me hours to find -- modify the all-fasta.loc file to point to the correct location. Second -and still unsolved- problem: When i try to run a picard tool, I get the following exception:
File "/home/hg/Galaxy/galaxy-dist/tools/picard/picard_wrapper.py", line 40 class PicardBase(): ^ SyntaxError: invalid syntax
I downloaded the last release of picard (picard-tools-1.48) and put all the jars file in tool-data/shared/jars/ permission of the files are : -rw-r--r-- 1 apache adm I suspect that galaxy can't find the jars file (i get the same error if I remove them from that location). Am I missing something? Should I precise something about the classpath in galaxY? Thank you for your help, Colin
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
-- Ross Lazarus MBBS MPH; Associate Professor, Harvard Medical School; Director of Bioinformatics, Channing Lab; Tel: +1 617 505 4850; Head, Medical Bioinformatics, BakerIDI; Tel: +61 385321444;