diff chicQualityControl.xml @ 2:7095bb186016 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 4b602d427e0fc0da5353a4510798349de98e4ae4"
author iuc
date Wed, 11 Mar 2020 16:52:37 -0400
parents 000ddd5f0f82
children 0e149d0c112c
line wrap: on
line diff
--- a/chicQualityControl.xml	Wed Feb 05 19:57:52 2020 -0500
+++ b/chicQualityControl.xml	Wed Mar 11 16:52:37 2020 -0400
@@ -6,12 +6,12 @@
     </macros>
     <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
-   
+
         #for $counter, $m in enumerate($matrix_h5_cooler_multiple):
             ln -s '$m' ${counter}_matrix.$m.ext &&
         #end for
         #set $m = ' '.join([ '\'%s_matrix.%s\'' % ($counter, $matrix.ext) for $counter, $matrix in enumerate($matrix_h5_cooler_multiple) ])
-       
+
         @BINARY@
 
             --matrices $m
@@ -29,13 +29,13 @@
     ]]></command>
     <inputs>
         <expand macro="matrix_h5_cooler_multiple_macro" />
-       
+
         <param argument="--referencePoints" type="data" format='interval'
                         label="Reference points"
                         help="Bed file contains all reference points which should be used to build the background model." />
-        <param argument="--sparsity" type="float" value="0.05"  label="Sparsity threshold" help='Viewpoints with a sparsity less than given are considered of bad quality. If multiple matrices are given, the viewpoint is removed as soon as it is of bad quality in at least one matrix.'/>    
+        <param argument="--sparsity" type="float" value="0.05"  label="Sparsity threshold" help='Viewpoints with a sparsity less than given are considered of bad quality. If multiple matrices are given, the viewpoint is removed as soon as it is of bad quality in at least one matrix.'/>
 
-        <param argument="--fixateRange" type="integer" value="500000"  label="Clip background distance" help='Fixate score of background model starting at distance x. E.g. all values greater 500kb are set to the value of the 500kb bin.'/>    
+        <param argument="--fixateRange" type="integer" value="500000"  label="Clip background distance" help='Fixate score of background model starting at distance x. E.g. all values greater 500kb are set to the value of the 500kb bin.'/>
 
         <param name='dpi' type='integer' value='300' label='DPI for image' help='Change the default resolution of the plot.' optional='true'/>
         <param name="image_file_format" type="select" label="Image output format">
@@ -43,7 +43,7 @@
             <option value="svg">svg</option>
             <option value="pdf">pdf</option>
         </param>
-   
+
     </inputs>
     <outputs>
         <data name="raw_reference_points" from_work_dir="reference_points_raw_filter" format="interval" label="${tool.name} on [${on_string}]: Reference points raw"/>
@@ -67,7 +67,7 @@
             <param name="matrix_h5_cooler_multiple" value="cHi-C/FL-E13-5_chr1.cool,cHi-C/MB-E10-5_chr1.cool"/>
             <param name="referencePoints" value="cHi-C/referencePoints.bed"/>
             <param name='sparsity' value='0.05'/>
-            
+
             <output name="accepted_reference_points" file="cHi-C/chicQualityControl/new_referencepoints.bed" ftype="interval" compare="sim_size" delta='40000'/>
             <output name="raw_reference_points" file="cHi-C/chicQualityControl/new_referencepoints.bed_raw_filter" ftype="interval" compare="sim_size" delta='40000'/>
             <output name="rejected_reference_points" file="cHi-C/chicQualityControl/new_referencepoints.bed_rejected_filter" ftype="interval" compare="sim_size" delta='40000'/>
@@ -81,13 +81,13 @@
 Compute the quality of viewpoints
 =================================
 
-Computes the sparsity of each viewpoint to determine the quality. A viewpoint is considered of bad quality if it is too sparse i.e. there are too many locations with no interactions recorded.
+Computes the sparsity of each viewpoint to determine their quality. A viewpoint is considered of bad quality if it is too sparse i.e. there are too many locations with no interactions recorded.
 
 This script outputs five files: A plot with the sparsity distribution per matrix, a plot with the sparsity distribution as histograms and a filtered reference points file. Additional, the raw filter data and the rejected viewpoints are returned.
 
 An example usage is:
 
-`$ chicQualityControl -m matrix1.h5 matrix2.h5 -rp referencePointsFile.bed --range 20000 40000 --sparsity 0.01 -o referencePointFile_QC_passed.bed`
+`$ chicQualityControl -m matrix1.h5 matrix2.h5 -rp referencePointsFile.txt --range 20000 40000 --sparsity 0.01 -o referencePointFile_QC_passed.txt`
 
 For more information about HiCExplorer please consider our documentation on readthedocs.io_