Mercurial > repos > bgruening > hicexplorer_chicdifferentialtest
diff chicDifferentialTest.xml @ 6:975b6a67e4b0 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 2a0943e78bdc8ebb13f181399206a9eea37ed78f"
author | iuc |
---|---|
date | Tue, 16 Mar 2021 15:16:02 +0000 |
parents | 126abc4b03f1 |
children | 9d42a6133690 |
line wrap: on
line diff
--- a/chicDifferentialTest.xml Fri Dec 11 21:27:58 2020 +0000 +++ b/chicDifferentialTest.xml Tue Mar 16 15:16:02 2021 +0000 @@ -1,4 +1,4 @@ -<tool id="hicexplorer_chicdifferentialtest" name="@BINARY@" version="@WRAPPER_VERSION@.1"> +<tool id="hicexplorer_chicdifferentialtest" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> <description>computes differential interactions of viewpoints</description> <macros> <token name="@BINARY@">chicDifferentialTest</token> @@ -16,8 +16,7 @@ tar -C interactionFiles -xvf viewpoints.tar && #else: #for $file in $tar_input_conditional.interactionFiles: - #set identifier = @ESCAPE_IDENTIFIER_FILE@ - + #set identifier = @ESCAPE_IDENTIFIER_FILE@ ln -s '$file' 'interactionFiles/$identifier' && #end for #end if @@ -44,7 +43,7 @@ && cd .. && rm -rf differentialFolder #end if - ]]></command> + ]]> </command> <inputs> <conditional name="tar_input_conditional"> <param name="tar_input_selector" type="select" label="Compute files individually or in batch mode"> @@ -52,10 +51,10 @@ <option value="interval_input" selected="True">Interval files</option> </param> <when value="tar_input"> - <param name='interactionFiles' type="data" format="tar" label="Interaction files" multiple="false"/> + <param name='interactionFiles' type="data" format="tar" label="Interaction files" multiple="false" /> </when> <when value="interval_input"> - <param name='interactionFiles' type="data" format="interval" label="Interaction files" multiple="true"/> + <param name='interactionFiles' type="data" format="interval" label="Interaction files" multiple="true" /> </when> </conditional> @@ -65,23 +64,22 @@ <option value="optionSinglemode" selected="True">Single file processing</option> </param> <when value="optionBatchmode"> - <param name='interactionFilesOrderFile' type="data" format="txt" label="Interaction file order"/> + <param name='interactionFilesOrderFile' type="data" format="txt" label="Interaction file order" /> </when> <when value="optionSinglemode"> </when> </conditional> - <param name='alpha' type="float" value='2.0' label="Alpha" help='Accept all samples to significance level alpha.'/> + <param name='alpha' type="float" value='2.0' label="Alpha" help='Accept all samples to significance level alpha.' /> <param name="statisticTest_selector" type="select" label="Statistical test"> - <option value="fisher" selected="True">Fisher exact</option> - <option value="chi2">Chi2 contingency</option> + <option value="fisher" selected="True">Fisher exact</option> + <option value="chi2">Chi2 contingency</option> </param> - <param name='tar' type='boolean' checked="false" truevalue='True' label="tar output to one file" - help="The output is tarred to one file and not written to a collection. Set this option if the number of files is large."/> - + <param name='tar' type='boolean' checked="false" truevalue='True' label="tar output to one file" help="The output is tarred to one file and not written to a collection. Set this option if the number of files is large." /> + </inputs> <outputs> <collection name="differentialFolderCollection" type="list" label="Differential test files"> - <discover_datasets pattern="__name__" format="interval" directory="differentialFolder" /> + <discover_datasets pattern="__name__" format="interval" directory="differentialFolder" /> </collection> <data name="rejectedFileNames" from_work_dir="rejected_H0.txt" format="txt" label="${tool.name} rejected H0"> <filter>batchmode_conditional.batchmode_selector == 'optionBatchmode'</filter> @@ -93,91 +91,78 @@ <tests> <test> <conditional name="tar_input_conditional"> - <param name="tar_input_selector" value='interval_input'/> - <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt"/> + <param name="tar_input_selector" value='interval_input' /> + <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt" /> </conditional> <conditional name="batchmode_conditional"> - <param name="batchmode_selector" value='optionBatchmode'/> - <param name="interactionFilesOrderFile" value='cHi-C/chicAggregateStatistic/batch_mode_file_names.txt'/> + <param name="batchmode_selector" value='optionBatchmode' /> + <param name="interactionFilesOrderFile" value='cHi-C/chicAggregateStatistic/batch_mode_file_names.txt' /> </conditional> - <param name="statisticTest_selector" value='chi2'/> - <param name="alpha" value='0.5'/> + <param name="statisticTest_selector" value='chi2' /> + <param name="alpha" value='0.5' /> <output_collection name="differentialFolderCollection" type="list" count="9"> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" ftype="interval" lines_diff="4"/> - - - <element name="FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_accepted.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_accepted.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_rejected.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_rejected.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_results.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_results.txt" ftype="interval" lines_diff="4"/> - - <element name="FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_accepted.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_accepted.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_rejected.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_rejected.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_results.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_results.txt" ftype="interval" lines_diff="4"/> - + <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_accepted.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_accepted.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_rejected.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_H0_rejected.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_results.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_results.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_accepted.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_accepted.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_rejected.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_H0_rejected.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_results.txt" file="cHi-C/chicDifferentialTest/batch_mode_chi2/FL-E13-5_MB-E10-5_chr1_chr1_4487435_4487435_Sox17_results.txt" ftype="interval" lines_diff="4" /> </output_collection> - <output name="rejectedFileNames" file="cHi-C/chicDifferentialTest/rejectedFilesList.txt" ftype="txt" compare="sim_size" delta='40000'/> + <output name="rejectedFileNames" file="cHi-C/chicDifferentialTest/rejectedFilesList.txt" ftype="txt" compare="sim_size" delta='40000' /> </test> <test> <conditional name="tar_input_conditional"> - <param name="tar_input_selector" value='interval_input'/> - <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt"/> - + <param name="tar_input_selector" value='interval_input' /> + <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt" /> + </conditional> + <conditional name="batchmode_conditional"> + <param name="batchmode_selector" value='optionSinglemode' /> + </conditional> + <param name="statisticTest_selector" value='fisher' /> + <param name="alpha" value='0.5' /> + <output_collection name="differentialFolderCollection" type="list" count="3"> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" file="cHi-C/chicDifferentialTest/regular_mode_fisher/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" file="cHi-C/chicDifferentialTest/regular_mode_fisher/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" ftype="interval" lines_diff="4" /> + <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" file="cHi-C/chicDifferentialTest/regular_mode_fisher/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" ftype="interval" lines_diff="4" /> + </output_collection> + </test> + <test> + <conditional name="tar_input_conditional"> + <param name="tar_input_selector" value='interval_input' /> + <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt" /> </conditional> <conditional name="batchmode_conditional"> - <param name="batchmode_selector" value='optionSinglemode'/> + <param name="batchmode_selector" value='optionBatchmode' /> + <param name="interactionFilesOrderFile" value='cHi-C/chicAggregateStatistic/batch_mode_file_names.txt' /> </conditional> - <param name="statisticTest_selector" value='fisher'/> - <param name="alpha" value='0.5'/> - - <output_collection name="differentialFolderCollection" type="list" count="3"> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" file="cHi-C/chicDifferentialTest/regular_mode_fisher/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_accepted.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" file="cHi-C/chicDifferentialTest/regular_mode_fisher/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_H0_rejected.txt" ftype="interval" lines_diff="4"/> - <element name="FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" file="cHi-C/chicDifferentialTest/regular_mode_fisher/FL-E13-5_MB-E10-5_chr1_chr1_14300280_14300280_Eya1_results.txt" ftype="interval" lines_diff="4"/> - </output_collection> - </test> - - - <test> - <conditional name="tar_input_conditional"> - <param name="tar_input_selector" value='interval_input'/> - <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_14300280_14300280_Eya1_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_4487435_4487435_Sox17_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/FL-E13-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt,cHi-C/chicAggregateStatistic/batch_mode/MB-E10-5_chr1_chr1_19093103_19093103_Tfap2d_aggregated.txt"/> - </conditional> - - <conditional name="batchmode_conditional"> - <param name="batchmode_selector" value='optionBatchmode'/> - <param name="interactionFilesOrderFile" value='cHi-C/chicAggregateStatistic/batch_mode_file_names.txt'/> - </conditional> - <param name="statisticTest_selector" value='chi2'/> - <param name="alpha" value='0.5'/> - <param name='tar' value='True'/> - + <param name="statisticTest_selector" value='chi2' /> + <param name="alpha" value='0.5' /> + <param name='tar' value='True' /> <output name="differentialFolderTar" file="cHi-C/chicDifferentialTest/batch_mode_chi2.tar" ftype='tar' compare="sim_size" delta='40000' /> - - <output name="rejectedFileNames" file="cHi-C/chicDifferentialTest/rejectedFilesList.txt" ftype="txt" compare="sim_size" delta='40000'/> + <output name="rejectedFileNames" file="cHi-C/chicDifferentialTest/rejectedFilesList.txt" ftype="txt" /> </test> <test> <conditional name="tar_input_conditional"> - <param name="tar_input_selector" value='tar_input'/> - <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode.tar"/> + <param name="tar_input_selector" value='tar_input' /> + <param name="interactionFiles" value="cHi-C/chicAggregateStatistic/batch_mode.tar" /> </conditional> <conditional name="batchmode_conditional"> - <param name="batchmode_selector" value='optionBatchmode'/> - <param name="interactionFilesOrderFile" value='cHi-C/chicAggregateStatistic/batch_mode_file_names.txt'/> + <param name="batchmode_selector" value='optionBatchmode' /> + <param name="interactionFilesOrderFile" value='cHi-C/chicAggregateStatistic/batch_mode_file_names.txt' /> </conditional> - <param name="statisticTest_selector" value='chi2'/> - <param name="alpha" value='0.5'/> - <param name='tar' value='True'/> - + <param name="statisticTest_selector" value='chi2' /> + <param name="alpha" value='0.5' /> + <param name='tar' value='True' /> <output name="differentialFolderTar" file="cHi-C/chicDifferentialTest/batch_mode_chi2.tar" ftype='tar' compare="sim_size" delta='40000' /> - - <output name="rejectedFileNames" file="cHi-C/chicDifferentialTest/rejectedFilesList.txt" ftype="txt" compare="sim_size" delta='40000'/> + <output name="rejectedFileNames" file="cHi-C/chicDifferentialTest/rejectedFilesList.txt" ftype="txt" /> </test> </tests> <help><![CDATA[ @@ -192,6 +177,6 @@ For more information about HiCExplorer please consider our documentation on readthedocs.io_ .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html -]]></help> +]]> </help> <expand macro="citations" /> </tool>