annotate ctat_clean_headers.xml @ 0:67e77c325002 draft default tip

Upload ctat tools.
author trinity_ctat
date Tue, 17 Jul 2018 11:50:58 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
1 <tool id="ctat_clean_headers" name="ctat_clean_headers" version="1.0.0" profile="17.05">
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
2 <description>Clean read headers of fastq files</description>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
3 <requirements>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
4 <requirement type="package" version="5">perl</requirement>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
5 </requirements>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
6 <command detect_errors="exit_code">
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
7 perl -lpe 'if (m/^[@+]/){ s/ //g}' "$input" > "$output"
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
8 </command>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
9 <macros>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
10 </macros>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
11 <stdio>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
12 <exit_code range="1:" level="fatal" description="Error returned from pipeline" />
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
13 </stdio>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
14 <regex match="Must investigate error above."
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
15 source="stderr"
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
16 level="fatal"
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
17 description="Unknown error encountered" />
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
18 <inputs>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
19 <param format="fastq" name="input" type="data" label="Fastq file with reads to be cleaned" help=""/>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
20 </inputs>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
21 <outputs>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
22 <data format="fastq" name="output" label="Cleaned ${on_string}" />
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
23 </outputs>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
24 <tests>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
25 </tests>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
26 <help>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
27 Removes whitespace from the header of each read in a fastq file. If your Trinity run gives you errors with dying threads during the normalization step, try this tool on each input first.
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
28 </help>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
29 <citations>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
30 </citations>
67e77c325002 Upload ctat tools.
trinity_ctat
parents:
diff changeset
31 </tool>