Mercurial > repos > devteam > varscan_version_2
changeset 2:bc1e0cd41241 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/varscan_version_2 commit 9a92cb9da7568fd0482be68dbedd5c30c4c931c7
author | devteam |
---|---|
date | Fri, 03 Feb 2017 08:26:05 -0500 |
parents | 44d514f3df8f |
children | |
files | tool_dependencies.xml varscan_mpileup.xml |
diffstat | 2 files changed, 9 insertions(+), 30 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Wed Nov 11 12:30:51 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -<?xml version="1.0"?> -<tool_dependency> - <package name="varscan" version="2.3.6"> - <install version="1.0"> - <actions> - <action type="download_by_url">http://downloads.sourceforge.net/project/varscan/VarScan.v2.3.6.jar</action> - <action type="move_file"> - <source>VarScan.v2.3.6.jar</source> - <destination>$INSTALL_DIR/jars</destination> - </action> - <action type="set_environment"> - <environment_variable name="JAVA_JAR_PATH" action="set_to">$INSTALL_DIR/jars</environment_variable> - </action> - </actions> - </install> - <readme> - </readme> - </package> -</tool_dependency>
--- a/varscan_mpileup.xml Wed Nov 11 12:30:51 2015 -0500 +++ b/varscan_mpileup.xml Fri Feb 03 08:26:05 2017 -0500 @@ -1,8 +1,8 @@ -<tool id="varscan" name="Varscan" version="0.1"> +<tool id="varscan" name="VarScan" version="2.4.2"> <description>for variant detection</description> <requirements> - <requirement type="package" version="2.3.6">varscan</requirement> + <requirement type="package" version="2.4.2">varscan</requirement> </requirements> <stdio> @@ -10,16 +10,18 @@ <regex match=".*" source="both" level="log" description="tool progress"/> </stdio> - <version_command>java -jar $JAVA_JAR_PATH/VarScan.v2.3.6.jar 2>&1 | head -n 1</version_command> + <version_command><![CDATA[ +varscan 2>&1 | head -n 1 + ]]></version_command> - <command> + <command><![CDATA[ ## Set up samples list file. #if $sample_names.strip() != '': - echo $sample_names | awk -F ',' '{ for (i = 1; i <= NF; i++) { print \$i; } }' > samples_list.txt; + echo $sample_names | awk -F ',' '{ for (i = 1; i <= NF; i++) { print \$i; } }' > samples_list.txt && #end if ## Set up command + input. - java -jar \$JAVA_JAR_PATH/VarScan.v2.3.6.jar ${cmd} ${input} + varscan ${cmd} ${input} --min-coverage ${min_coverage} --min-reads2 ${min_supporting_reads} --min-avg-qual ${min_avg_qual} @@ -41,7 +43,7 @@ #if $sample_names.strip() != '': --vcf-sample-list samples_list.txt #end if - </command> + ]]></command> <inputs> <param format="pileup" name="input" type="data" label="Pileup dataset" help=""/> @@ -68,10 +70,6 @@ <outputs> <data name="output" format="vcf"/> </outputs> - - <trackster_conf> - </trackster_conf> - <tests> <test> <param name="input" value="test_in1.pileup" />