annotate tool_dependencies.xml @ 1:8bfe32e9a29b draft

planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit 607248de34dee7cbdc6a48982463d74da091d55e-dirty
author jjohnson
date Tue, 05 Dec 2017 13:40:30 -0500
parents 5a4237bbe6bf
children 86278e018303
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
1 <?xml version="1.0"?>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
2 <tool_dependency>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
3 <package name="boost" version="1.53.0">
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
4 <repository changeset_revision="53dae122c9c7" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
5 </package>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
6 <package name="defuse" version="0.6.2">
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
7 <install version="1.0">
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
8 <actions>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
9 <action type="shell_command">git clone https://bitbucket.org/dranew/defuse.git defuse</action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
10 <action type="shell_command">git reset --hard 5c13b80f62bcbb8ac4b7d517488be0986b080723</action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
11 <!-- populate the environment variables from the dependent repos -->
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
12 <action type="set_environment_for_install">
1
8bfe32e9a29b planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit 607248de34dee7cbdc6a48982463d74da091d55e-dirty
jjohnson
parents: 0
diff changeset
13 <repository changeset_revision="9cc5f2bc9a9c" name="package_boost_1_55" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
8bfe32e9a29b planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit 607248de34dee7cbdc6a48982463d74da091d55e-dirty
jjohnson
parents: 0
diff changeset
14 <package name="boost" version="1.55.0" />
0
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
15 </repository>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
16 </action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
17 <action type="shell_command">export CPLUS_INCLUDE_PATH=$BOOST_ROOT_DIR/include:$CPLUS_INCLUDE_PATH &amp;&amp; cd tools &amp;&amp; make</action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
18 <!-- modify create_reference_dataset.pl to handle more than just human genomes -->
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
19 <action type="shell_command">
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
20 cd scripts &amp;&amp;
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
21 cp create_reference_dataset.pl create_reference_dataset.pl.orig &amp;&amp;
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
22 cat create_reference_dataset.pl.orig |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
23 sed 's#wget_gunzip("ftp://hgdownload.cse.ucsc.edu/goldenPath/$ucsc_genome_version/database/rmsk.txt.gz", $repeats_filename);##' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
24 sed 's#wget_gunzip("ftp://hgdownload.cse.ucsc.edu/goldenPath/hg19/database/intronEst.txt.gz", $est_alignments);##' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
25 sed 's#^\(my .*ensembl_genome_version.*config.*get_value.*;\)#\1Qmy $ensembl_organism = $config-&gt;get_value("ensembl_organism");Qmy $ensembl_prefix = $config-&gt;get_value("ensembl_prefix");Qmy $ncbi_organism = $config-&gt;get_value("ncbi_organism");Qmy $ncbi_prefix = $config-&gt;get_value("ncbi_prefix");#' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
26 sed 's/^\(sub wget_gunzip\)/sub try_wgetQ{Q my $url = shift;Q my $filename = shift;Q my $filename_gz = $filename.".gz";Q my $rslt = system "wget $url -O $filename_gz";Q if($rslt == 0)Q {Q $rslt = system "gunzip $filename_gz";Q }Q return $rslt;Q}QQ\1/' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
27 sed 's#^\(.*/gtf/.*\)$#\1Q system_with_check("if `grep -v gene_name $gene_models &gt; /dev/null`; then mv $gene_models ${gene_models}.orig; grep gene_name ${gene_models}.orig &gt; $gene_models; fi");#' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
28 tr 'Q' '\n' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
29 awk 'BEGIN{pfx="p1";fn="p2";}/if \(not -e \$repeats_filename\)/{pfx="rmsk";fn="repeats_filename";} /if \(not -e \$est_alignments\)/{pfx="intronEst";fn="est_alignments"} /ucsc_genome_version eq "hg18"/{printf("\tif (try_wget(\"ftp://hgdownload.cse.ucsc.edu/goldenPath/$ucsc_genome_version/database/%s.txt.gz\", \$%s) != 0)\n",pfx,fn);} $0 !~ /ucsc_genome_version eq "hg18/{print $0;}' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
30 sed 's#UniGene/Homo_sapiens#UniGene/$ncbi_organism#' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
31 sed 's/Hs.seq.uniq.gz/$ncbi_prefix.seq.uniq.gz/' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
32 sed 's/homo_sapiens/$ensembl_organism/' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
33 sed 's/Homo_sapiens/$ensembl_prefix/' |
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
34 sed 's/hg19/$ucsc_genome_version/' &gt; create_reference_dataset.pl
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
35 </action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
36 <action type="move_directory_files">
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
37 <source_directory>.</source_directory>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
38 <destination_directory>$INSTALL_DIR</destination_directory>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
39 </action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
40 <action type="set_environment">
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
41 <environment_variable action="set_to" name="DEFUSE_PATH">$INSTALL_DIR</environment_variable>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
42 </action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
43 <action type="set_environment">
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
44 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/tools</environment_variable>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
45 </action>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
46 </actions>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
47 </install>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
48 <readme>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
49 deFuse code
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
50 To build the deFuse toolset you must have the boost c++ development libraries installed. If they are not installed on your system you can download them from the boost website. A full install of boost is not required. The easiest thing to do is to download the latest boost source tar.gz, extract it, then add the extracted path to the CPLUS_INCLUDE_PATH environment variable (in bash, `export CPLUS_INCLUDE_PATH=/boost/directory/:$CPLUS_INCLUDE_PATH`)
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
51 </readme>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
52 </package>
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
53
5a4237bbe6bf planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/packages/package_defuse_0_6_2 commit e9b93500b3fd7b26de9b8218b63d8346c6682634-dirty
jjohnson
parents:
diff changeset
54 </tool_dependency>