comparison hicFindRestrictionSites.xml @ 9:6c5097f6d41e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
author iuc
date Wed, 18 Oct 2023 10:10:03 +0000
parents 9369e9b11b8d
children 972dcccb5bbc
comparison
equal deleted inserted replaced
8:aa829050d061 9:6c5097f6d41e
6 </macros> 6 </macros>
7 <expand macro="requirements" /> 7 <expand macro="requirements" />
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
9 @BINARY@ 9 @BINARY@
10 --fasta '$fasta' 10 --fasta '$fasta'
11 --searchPattern '$searchPattern' 11 #set $searchPatternList = ' '.join([ '\'%s\'' % $pattern for $pattern in str($searchPattern).split(' ') ])
12
13 --searchPattern '$searchPatternList'
12 --outFile restriction_site.bed 14 --outFile restriction_site.bed
13 15
14 ]]> </command> 16 ]]> </command>
15 <inputs> 17 <inputs>
16 <param argument="--fasta" type="data" format='fasta,fasta.gz' label="Fasta file for the organism genome." help="The organism genome fasta file to compute the restriction enzyme position." /> 18 <param argument="--fasta" type="data" format="fasta,fasta.gz" label="Fasta file for the organism genome."
19 help="The organism genome fasta file to compute the restriction enzyme position." />
17 <param argument="--searchPattern" type="text" value="" label="Restriction enzyme sequence" help='Search pattern. For example, for HindIII this pattern is \"AAGCTT\". 20 <param argument="--searchPattern" type="text" value="" label="Restriction enzyme sequence" help='Search pattern. For example, for HindIII this pattern is \"AAGCTT\".
18 Both, forward and reverse strand are searched for a match. The pattern 21 Both, forward and reverse strand are searched for a match. The pattern
19 is a regexp and can contain regexp specif syntax 22 is a regexp and can contain regexp specif syntax
20 (see https://docs.python.org/2/library/re.html). For example the pattern 23 (see https://docs.python.org/2/library/re.html). For example the pattern
21 CG..GC will find all occurrence of CG followed by any two bases and then GC.'> 24 CG..GC will find all occurrence of CG followed by any two bases and then GC.'>
22 <validator type="expression" message="Only ASCII characters are allowed."><![CDATA[all(ord(c) < 128 for c in value)]]></validator> 25 <validator type="expression" message="Only ASCII characters are allowed."><![CDATA[all(ord(c) < 128 for c in value)]]></validator>
23 </param> 26 </param>
24 </inputs> 27 </inputs>
25 <outputs> 28 <outputs>
26 <data name="restrictionSites" from_work_dir="restriction_site.bed" format="bed" label="${tool.name} on ${fasta.name} ${searchPattern} [${on_string}]: Restriction sites" /> 29 <data name="restrictionSites" from_work_dir="restriction_site.bed" format="bed" label="${tool.name} on ${fasta.name} ${searchPattern} [${on_string}]: Restriction sites" />