annotate remove_beginning.xml @ 1:bb66956af1eb

Added quotes and brackets to appropriate command arguments
author greg <greg@bx.psu.edu>
date Mon, 01 Apr 2013 14:32:35 -0400
parents d9b82504a321
children cb8b79d32fa2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
1 <tool id="Remove beginning1" name="Remove beginning">
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
2 <description>of a file</description>
1
bb66956af1eb Added quotes and brackets to appropriate command arguments
greg <greg@bx.psu.edu>
parents: 0
diff changeset
3 <command interpreter="perl">remove_beginning.pl "${input}" "${num_lines}" "${out_file1}"</command>
0
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
4 <inputs>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
5 <param name="num_lines" size="5" type="integer" value="1" label="Remove first" help="lines"/>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
6 <param format="txt" name="input" type="data" label="from"/>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
7 </inputs>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
8 <outputs>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
9 <data format="input" name="out_file1" metadata_source="input"/>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
10 </outputs>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
11 <tests>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
12 <test>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
13 <param name="num_lines" value="5"/>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
14 <param name="input" value="1.bed"/>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
15 <output name="out_file1" file="eq-removebeginning.dat"/>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
16 </test>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
17 </tests>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
18 <help>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
19
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
20 **What it does**
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
21
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
22 This tool removes a specified number of lines from the beginning of a dataset.
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
23
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
24 -----
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
25
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
26 **Example**
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
27
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
28 Input File::
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
29
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
30 chr7 56632 56652 D17003_CTCF_R6 310 +
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
31 chr7 56736 56756 D17003_CTCF_R7 354 +
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
32 chr7 56761 56781 D17003_CTCF_R4 220 +
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
33 chr7 56772 56792 D17003_CTCF_R7 372 +
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
34 chr7 56775 56795 D17003_CTCF_R4 207 +
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
35
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
36 After removing the first 3 lines the dataset will look like this::
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
37
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
38 chr7 56772 56792 D17003_CTCF_R7 372 +
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
39 chr7 56775 56795 D17003_CTCF_R4 207 +
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
40
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
41 </help>
d9b82504a321 Uploaded remove_beginning tarball.
devteam
parents:
diff changeset
42 </tool>