annotate snp_to_bed.xml @ 2:8220dba15923 draft default tip

drop of first row removed
author brigidar
date Mon, 28 Dec 2015 12:51:23 -0500
parents c5195904b225
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
c5195904b225 changed output to bed format
brigidar
parents: 0
diff changeset
1 <tool id="snp_to_bed" name="snp location to bed format" version="0.3">
c5195904b225 changed output to bed format
brigidar
parents: 0
diff changeset
2 <description>convert SNP to interval</description>
0
9c02f5e8e657 Uploaded
brigidar
parents:
diff changeset
3 <command>
2
8220dba15923 drop of first row removed
brigidar
parents: 1
diff changeset
4 cat $input1| awk -F "\t" -v OFS="\t" '{print $1, $2-1, $2}'>> $out_file1 </command>
0
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>
1
c5195904b225 changed output to bed format
brigidar
parents: 0
diff changeset
9 <data name="out_file1" format="bed" metadata_source="input1"/>
0
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>