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