annotate snp_to_bed.xml @ 0:9c02f5e8e657 draft

Uploaded
author brigidar
date Wed, 07 Oct 2015 15:17:51 -0400
parents
children c5195904b225
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
1 <tool id="snp_to_bed" name="snp location to bed format" version="0.1">
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
2 <description>removes unwanted column</description>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
3 <command>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
4 cat $input1 | sed '1d'| awk -F "\t" -v OFS="\t" '{print $1, $2-1, $2}'>> $out_file1 </command>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
5 <inputs>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
6 <param name="input1" type="data" label="input file"/>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
7 </inputs>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
8 <outputs>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
9 <data name="out_file1" format="input" metadata_source="input1"/>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
10 </outputs>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
11 <tests>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
12 </tests>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
13 <help>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
14 </help>
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
15 </tool>