annotate extract_contigs_from_archive.xml @ 31:be1f407e1018 draft

planemo upload commit 39094a128ea3dd2c39f4997c6de739c33c07e5f3
author petr-novak
date Thu, 03 Aug 2023 10:54:34 +0000
parents 93595f42a04d
children 91996b991991
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
1 <tooll id="extract_contigs" name="Extract contigs from RepeatExplorer2 archive" version="1.0.0.3">
1
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
2 <command detect_errors="exit_code">
24
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
3 <![CDATA[
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
4 unzip -p ${RepeatExplorer_archive} contigs.fasta > ${contigs}
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
5 &&
25
5dba804e6884 planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 24
diff changeset
6 mkdir -p tempdir
26
93595f42a04d planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 25
diff changeset
7 &&
24
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
8 unzip ${RepeatExplorer_archive} "*.aln" -d tempdir
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
9 &&
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
10 find tempdir -type f -name "*.aln" -exec cat {} + > ${aln}
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
11 &&
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
12 rm -r tempdir
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
13 ]]>
1
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
14 </command>
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
15
24
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
16
1
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
17 <inputs>
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
18 <param name="RepeatExplorer_archive" label="Archive with RepeatExplorer2 results" type="data" format="zip"/>
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
19 </inputs>
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
20
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
21 <outputs>
9
c2c69c6090f0 Uploaded
petr-novak
parents: 2
diff changeset
22 <data name="contigs" format="fasta" label="Contigs from RepeatExplorer clustering from data ${RepeatExplorer_archive.hid}" />
c2c69c6090f0 Uploaded
petr-novak
parents: 2
diff changeset
23 <data name="aln" format="txt" label="Contigs from RepeatExplorer clustering in aln format from data ${RepeatExplorer_archive.hid}" />
1
2e811f988e1d Uploaded
petr-novak
parents:
diff changeset
24 </outputs>
24
b50db133106a planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents: 23
diff changeset
25 </tooll>