annotate build_matrix.xml @ 1:31a21ba2c5ea draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
author iuc
date Sat, 22 Apr 2023 12:14:00 +0000
parents 1bf008d6d54e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
1 <tool id="episcanpy_build_matrix" name="Build count matrix" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
2 <description>with EpiScanpy</description>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
3 <macros>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
4 <import>macros.xml</import>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
5 </macros>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
6 <expand macro="bio_tools"/>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
10 bgzip -c '$fragment_file' > fragments.gz &&
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
11 tabix -p bed fragments.gz &&
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
12 cat '$script_file' > '$hidden_output' &&
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
13 python '$script_file' >> '$hidden_output' &&
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
14 touch 'anndata_info.txt' &&
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
15 cat 'anndata_info.txt' @CMD_prettify_stdout@
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
16 ]]></command>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
17 <configfiles>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
18 <configfile name="script_file"><![CDATA[
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
19 @CMD_imports@
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
20 peaks = esc.ct.load_peaks('$peaks_file')
1
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
21 #if $peak_size.normalize == 'yes'
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
22 esc.ct.norm_peaks(peaks, extension=$peak_size.extension)
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
23 #end if
0
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
24 esc.ct.bld_mtx_bed(
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
25 fragment_file='fragments.gz',
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
26 feature_region=peaks,
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
27 #if $reference_chr.chr_select == 'custom'
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
28 #set $chromosomes = ([x.strip() for x in str($reference_chr.chromosomes).split(',')])
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
29 chromosomes=$chromosomes,
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
30 #else
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
31 chromosomes='$reference_chr.chr_select',
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
32 #end if
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
33 save='anndata.h5ad')
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
34 ]]></configfile>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
35 </configfiles>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
36 <inputs>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
37 <param name="fragment_file" type="data" format="bed" label="ATAC fragments file" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
38 <param name="peaks_file" type="data" format="tabular" label="Features file" help="Peaks BED file or MACS2 narrowPeak file"/>
1
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
39 <conditional name="peak_size">
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
40 <param name="normalize" type="select" label="Normalize peak sizes?" >
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
41 <option value="no" selected="true">No, keep the peaks as they are</option>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
42 <option value="yes">Yes, normalize the peaks to equal length from the center</option>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
43 </param>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
44 <when value="no" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
45 <when value="yes">
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
46 <param name="extension" type="integer" value="0" min="0" label="Number of bases to extend both sides from the center of the peak" help="All resulting peaks will have the same length"/>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
47 </when>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
48 </conditional>
0
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
49 <conditional name="reference_chr">
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
50 <param name="chr_select" type="select" label="Select the chromosomes of the species you are considering" >
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
51 <option value="human">Human chromosomes ['1', '2', '3', ... , '22', 'X', 'Y']</option>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
52 <option value="mouse">Mouse chromosomes ['1', '2', '3', ... ', '19', 'X', 'Y']</option>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
53 <option value="custom">Custom list of chromosomes</option>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
54 </param>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
55 <when value="human" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
56 <when value="mouse" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
57 <when value="custom">
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
58 <param name="chromosomes" value="" type="text" label="Enter comma seperated list of chromosome ids (without chr prefix)" >
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
59 <expand macro="sanitize_query" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
60 </param>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
61 </when>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
62 </conditional>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
63 <expand macro="inputs_common_advanced"/>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
64 </inputs>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
65 <outputs>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
66 <data name="anndata_out" format="h5ad" from_work_dir="anndata.h5ad" label="${tool.name} on ${on_string}: Annotated data matrix"/>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
67 <data name="hidden_output" format="txt" label="Log file" hidden="true" >
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
68 <filter>advanced_common['show_log']</filter>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
69 </data>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
70 </outputs>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
71 <tests>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
72 <test expect_num_outputs="2">
1
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
73 <!-- default params -->
0
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
74 <param name="fragment_file" value="chrY.fragments.bed" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
75 <param name="peaks_file" value="chrY.peaks.bed" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
76 <conditional name="reference_chr">
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
77 <param name="chr_select" value="custom" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
78 <param name="chromosomes" value="Y" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
79 </conditional>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
80 <section name="advanced_common">
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
81 <param name="show_log" value="true" />
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
82 </section>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
83 <output name="anndata_out" file="chrY.h5ad" ftype="h5ad" compare="sim_size"/>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
84 </test>
1
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
85 <test expect_num_outputs="2">
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
86 <!-- normalized peaks -->
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
87 <param name="fragment_file" value="chrY.fragments.bed" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
88 <param name="peaks_file" value="chrY.peaks.bed" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
89 <conditional name="peak_size">
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
90 <param name="normalize" value="yes" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
91 <param name="extension" value="250" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
92 </conditional>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
93 <conditional name="reference_chr">
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
94 <param name="chr_select" value="custom" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
95 <param name="chromosomes" value="Y" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
96 </conditional>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
97 <section name="advanced_common">
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
98 <param name="show_log" value="true" />
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
99 </section>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
100 <output name="anndata_out" file="chrY_norm_peaks.h5ad" ftype="h5ad" compare="sim_size"/>
31a21ba2c5ea planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit bb79cb8cad3bc1433bff7caf9d7b45e7993dd470
iuc
parents: 0
diff changeset
101 </test>
0
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
102 </tests>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
103 <help>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
104 .. class:: infomark
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
105
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
106 **What it does**
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
107
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
108 Builds single-cell ATAC-seq count matrix in Anndata format.
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
109
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
110 -----
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
111
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
112 **Inputs**
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
113
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
114 - ATAC fragments containing the positions of Tn5 integration sites, the cell barcode that the DNA fragment originated from, and the number of times the fragment was sequenced. An example::
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
115
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
116 chrY 2650256 2650533 GACCAATGTCCGTAGC 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
117 chrY 2650420 2650463 TGACAACGTACTTCAG 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
118 chrY 2650444 2650643 GTGGATTGTACAAGCG 3
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
119 chrY 2650639 2650990 ATAGGCTAGGGCTCTC 2
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
120 chrY 2650650 2650692 GACTAACAGCAACGGT 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
121 chrY 2650699 2650942 TCAAAGCTCAAAGTAG 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
122 chrY 2650768 2650809 TTGTTGTAGGGCATTG 2
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
123 chrY 2650841 2650873 TTGTTGTAGGGCATTG 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
124 chrY 2650957 2650995 GACTAACAGCAACGGT 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
125 chrY 2651205 2651265 TCAAAGCTCAAAGTAG 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
126 chrY 2651215 2651268 TCACAAGGTCAAGACG 1
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
127
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
128 - Features file. A plain BED file with peak locations or narrowPeak file from MACS2.
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
129
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
130 **Output**
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
131
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
132 - Count matrix in Anndata format.
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
133
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
134 </help>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
135 <expand macro="citations"/>
1bf008d6d54e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/episcanpy/ commit ce8ee43d7285503a24c7b0f55c09c513be8c66f5
iuc
parents:
diff changeset
136 </tool>