Mercurial > repos > bgruening > bamhash
annotate bamhash.xml @ 1:a19b36f7ff5d draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f-dirty
author | bgruening |
---|---|
date | Thu, 17 Sep 2015 06:21:17 -0400 |
parents | c76494b4ba50 |
children | 27f5da0a6bd9 |
rev | line source |
---|---|
0
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
1 <tool id="bamhash" name="BamHash" version="1.1"> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
2 <description>Hash BAM and FASTQ files to verify data integrity</description> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
3 <requirements> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
4 <requirement type="package" version="1.1">bamhash</requirement> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
5 </requirements> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
6 <stdio> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
7 <exit_code range="1:" /> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
8 <exit_code range=":-1" /> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
9 <regex match="Error:" /> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
10 <regex match="Exception:" /> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
11 </stdio> |
1
a19b36f7ff5d
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f-dirty
bgruening
parents:
0
diff
changeset
|
12 <version_command>bamhash_checksum_fastq --version</version_command> |
0
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
13 <command><![CDATA[ |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
14 #if $tool.tool_choice=="bam": |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
15 #for $counter, $file in enumerate($tool.input_bam): |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
16 ln -s "${file}" "${counter}.bam" ## 1.bam ... 2.bam |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
17 && |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
18 #end for |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
19 bamhash_checksum_bam |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
20 $tool.noQuality_bam |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
21 $tool.noPaired_bam |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
22 #for $counter, $filename in enumerate($tool.input_bam): |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
23 "${counter}.bam" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
24 #end for |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
25 #elif $tool.tool_choice=="fastq": |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
26 #for $counter, $file in enumerate($tool.input_fastq): |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
27 ln -s "${file}" "${counter}.fastq" ## 1.fastq ... 2.fastq |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
28 && |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
29 #end for |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
30 bamhash_checksum_fastq |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
31 $tool.noQuality_fastq |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
32 $tool.noPaired_fastq |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
33 #for $counter, $filename in enumerate($tool.input_fastq): |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
34 "${counter}.fastq" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
35 #end for |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
36 #elif $tool.tool_choice=="fasta": |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
37 #for $counter, $file in enumerate($tool.input_fasta): |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
38 ln -s "${file}" "${counter}.fasta" ## 1.fasta ... 2.fasta |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
39 && |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
40 #end for |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
41 bamhash_checksum_fasta |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
42 #for $counter, $filename in enumerate($tool.input_fasta): |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
43 "${counter}.fasta" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
44 #end for |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
45 #end if |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
46 $readnames |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
47 > output.txt |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
48 ]]></command> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
49 <inputs> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
50 <conditional name="tool"> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
51 <param name="tool_choice" type="select" label="Choose file type:" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
52 help=""> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
53 <option value="bam">BAM file(s)</option> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
54 <option value="fastq">FASTQ file(s)</option> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
55 <option value="fasta">FASTA file(s)</option> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
56 </param> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
57 <when value="bam"> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
58 <param name="input_bam" multiple="True" type="data" format="bam" label="Input file - BAM format"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
59 <param name="noQuality_bam" type="boolean" checked="false" truevalue="--no-quality" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
60 falsevalue="" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
61 label="Ignore read quality?" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
62 help="Do not use read quality as part of checksum"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
63 <param name="noPaired_bam" type="boolean" checked="false" truevalue="--no-paired" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
64 falsevalue="" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
65 label="Bam files were not generated with paired-end reads?"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
66 </when> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
67 <when value="fasta"> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
68 <param name="input_fasta" multiple="True" type="data" format="fasta" label="Input file - FASTA format"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
69 </when> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
70 <when value="fastq"> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
71 <param name="input_fastq" multiple="True" type="data" format="fastq" label="Input file - FASTQ format"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
72 <param name="noQuality_fastq" type="boolean" checked="false" truevalue="--no-quality" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
73 falsevalue="" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
74 label="Ignore read quality?" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
75 help="Do not use read quality as part of checksum"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
76 <param name="noPaired_fastq" type="boolean" checked="false" truevalue="--no-paired" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
77 falsevalue="" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
78 label="List of fastq files are not paired-end reads?"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
79 </when> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
80 </conditional> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
81 <param name="readnames" type="boolean" checked="false" truevalue="--no-readnames" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
82 falsevalue="" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
83 label="Ignore readnames?" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
84 help="Do not use read names as part of checksum"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
85 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
86 </inputs> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
87 <outputs> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
88 <data name="output" format="txt" from_work_dir="./output.txt" |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
89 label="${tool.name} on ${on_string}"> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
90 </data> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
91 </outputs> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
92 <tests> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
93 <test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
94 <param name="input_bam" value="Example.bam" ftype="bam"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
95 <param name="tool_choice" value="bam"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
96 <output name="output" file="output1_bam.txt" ftype="txt"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
97 </test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
98 <test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
99 <param name="input_fasta" value="UnAligSeq24606.fasta" ftype="fasta"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
100 <param name="tool_choice" value="fasta"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
101 <param name="readnames" value="--no-readnames"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
102 <output name="output" file="output2_fasta.txt" ftype="txt"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
103 </test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
104 <test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
105 <param name="input_fastq" value="1_mismatch.fastq,2_mismatch.fastq" ftype="fastq"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
106 <param name="tool_choice" value="fastq"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
107 <param name="noQuality" value="--no-quality"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
108 <output name="output" file="output3_fastq.txt" ftype="txt"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
109 </test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
110 <test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
111 <param name="input_fastq" value="1_mismatch.fastq,2_mismatch.fastq" ftype="fastq"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
112 <param name="tool_choice" value="fastq"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
113 <output name="output" file="output4_fastq.txt" ftype="txt"/> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
114 </test> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
115 </tests> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
116 <help><![CDATA[ |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
117 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
118 **WHAT IT DOES** |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
119 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
120 Hash BAM and FASTQ files to verify data integrity |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
121 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
122 For each pair of reads in a BAM or FASTQ file we compute a hash value composed of the readname, |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
123 whether it is first or last in pair, sequence and quality value. All the hash values are summed |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
124 up so the result is independent of the ordering within the files. The result can be compared to |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
125 verify that the pair of FASTQ files contain the same read information as the aligned BAM file. |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
126 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
127 ----- |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
128 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
129 **BAM** |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
130 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
131 processes a number of BAM files. BAM files are assumed to contain paired end reads. |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
132 If you run with --no-paired it treats all reads as single end and displays a warning if any read is marked as "second in pair" in the BAM file. |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
133 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
134 ----- |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
135 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
136 **FASTA** |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
137 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
138 processes a number of FASTA files. All FASTA files are assumed to be single end reads with no quality information. |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
139 To compare to a BAM file, run bamhash_checksum_bam --no-paired --no-quality |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
140 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
141 ----- |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
142 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
143 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
144 **FASTQ** |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
145 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
146 processes a number of FASTQ files. FASTQ files are assumed to contain paired end reads, |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
147 such that the first two files contain the first pair of reads, etc. If any of the read names in the two pairs don't match the program exits with failure. |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
148 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
149 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
150 ----- |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
151 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
152 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
153 **BamHash** is a Free and Open Source Software, see more details on the BamHash github_ Website. |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
154 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
155 .. _github: https://github.com/DecodeGenetics/BamHash |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
156 |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
157 ]]></help> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
158 <citations> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
159 </citations> |
c76494b4ba50
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/bamhash commit 2749adf8099bbdea4f61759201b3f2b92db5ff0f
bgruening
parents:
diff
changeset
|
160 </tool> |