|
0
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 <tool id="samtools_view_header" name="Samtools view header">
|
|
|
3 <description>Show only the header of a BAM or SAM file using samtools.</description>
|
|
|
4 <requirements>
|
|
|
5 <requirement type="package" version="5.9">ncurses</requirement>
|
|
|
6 <requirement type="package" version="0.1.19">samtools</requirement>
|
|
|
7 </requirements>
|
|
|
8 <command>
|
|
|
9 samtools
|
|
|
10 view
|
|
|
11 -H
|
|
|
12 #if $alignment.dataset.ext.lower() == "sam"
|
|
|
13 -S
|
|
|
14 #end if
|
|
|
15 $alignment > $header 2> stderr.txt ;
|
|
|
16
|
|
|
17 cat stderr.txt
|
|
|
18 </command>
|
|
|
19
|
|
|
20 <inputs>
|
|
|
21 <param format="sam,bam" name="alignment" type="data" label="Alignments in BAM or SAM format" help="The set of aligned reads." />
|
|
|
22 </inputs>
|
|
|
23
|
|
|
24 <outputs>
|
|
|
25 <data format="tabular" name="header" label="${tool.name} on ${alignment.name}" />
|
|
|
26 </outputs>
|
|
|
27
|
|
|
28 <help>
|
|
|
29 **samtools view -H **
|
|
|
30
|
|
|
31 **Input formats**
|
|
|
32
|
|
1
|
33 * BAM
|
|
|
34 * SAM
|
|
|
35
|
|
0
|
36 **Installation**
|
|
1
|
37 The installation is straight-forward and should go automatically using the Galaxy tool-shed installer.
|
|
0
|
38
|
|
|
39 **License**
|
|
|
40
|
|
1
|
41 * samtools: MIT License
|
|
0
|
42
|
|
|
43 **Contact**
|
|
|
44
|
|
|
45 The tool wrapper has been written by Youri Hoogstrate from the Erasmus Medical Center (Rotterdam, Netherlands) on behalf of the Translational Research IT (TraIT) project:
|
|
|
46 http://www.ctmm.nl/en/programmas/infrastructuren/traitprojecttranslationeleresearch
|
|
|
47
|
|
|
48 More tools by the Translational Research IT (TraIT) project can be found in the following repository:
|
|
|
49 http://toolshed.dtls.nl/
|
|
|
50 </help>
|
|
|
51 </tool> |