Mercurial > repos > iuc > tasmanian_mismatch
annotate Tasmanian.xml @ 1:b15fbf90db53 draft default tip
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
author | iuc |
---|---|
date | Sat, 24 Jul 2021 17:47:35 +0000 |
parents | bc0b40dec7d2 |
children |
rev | line source |
---|---|
1
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
1 <tool id="tasmanian_mismatch" name="Analysis of artifacts with Tasmanian" version="@TOOL_VERSION@" profile="20.05"> |
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
2 <description>Quantify, visualize and summarize mismatches in deep sequencing data</description> |
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
3 <macros> |
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.0.7</token> |
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
5 <token name="@SAMTOOLS_VERSION@">1.13</token> |
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
6 </macros> |
0
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
7 <requirements> |
1
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
8 <requirement type="package" version="@TOOL_VERSION@">tasmanian-mismatch</requirement> |
b15fbf90db53
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit d67025e9c7764d77f3f622b4d1ac0535b06c63de"
iuc
parents:
0
diff
changeset
|
9 <requirement type="package" version="@SAMTOOLS_VERSION@">samtools</requirement> |
0
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
10 </requirements> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
11 <command detect_errors="exit_code"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
12 <![CDATA[ |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
13 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
14 #set $reference_fasta_filename = "localref.fa" |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
15 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
16 #if str( $reference_source.reference_source_selector ) == "history": |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
17 ln -s '${reference_source.ref_file}' '${reference_fasta_filename}' && |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
18 #else: |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
19 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path ) |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
20 #end if |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
21 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
22 samtools view '${bam_input}' | |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
23 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
24 #if $bed_filename |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
25 run_intersections -b '$bed_filename' | |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
26 #end if |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
27 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
28 run_tasmanian |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
29 -q '${basequality}' |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
30 -s '${softclips}' |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
31 -m '${mapquality}' |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
32 -c '${confidence}' |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
33 -r '${reference_fasta_filename}' > '${output_table}' |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
34 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
35 ]]></command> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
36 <inputs> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
37 <!-- Bam alignment file --> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
38 <param type="data" name="bam_input" label="Bam/Sam alignemnt file" format="bam" help="Specify BAM/SAM dataset. If not using a bed file, this file MUST BE SORTED"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
39 <!-- reference genome upload --> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
40 <conditional name="reference_source"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
41 <param name="reference_source_selector" type="select" label="Reference genome" help="You can select a reference genome from your history or use a built-in index (Local cache)"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
42 <option value="cached">Local cache</option> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
43 <option value="history">History</option> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
44 </param> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
45 <when value="cached"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
46 <param name="ref_file" type="select" label="Select the reference genome from the list"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
47 <options from_data_table="all_fasta"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
48 <filter type="sort_by" column="2" /> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
49 <validator type="no_options" message="No indexes are available" /> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
50 </options> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
51 </param> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
52 </when> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
53 <when value="history"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
54 <param name="ref_file" type="data" format="fasta" label="Use reference genome from history" help="You can first upload a FASTA sequence to the history" /> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
55 </when> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
56 </conditional> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
57 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
58 <!-- bed file --> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
59 <param name="bed_filename" type="data" format="bed" optional="true" label="Select a bed file" help="The bed file should contain at least: "chrN", "start" and "stop", and is tab separated."/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
60 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
61 <!-- Additional parameters --> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
62 <param name="confidence" label="Boundary" type="integer" value="20" min="0" max="100" |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
63 help="Number of bases in boundary region, from 0 to length of the read (read help below). Default=20"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
64 <param name="softclips" label="Choose an action with softclips" type="select" display="radio" |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
65 help="How sofclips whould be treated. Values include 0,1 or 2 (read the help below). Default=0"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
66 <option value="1">Never use softcliped bases</option> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
67 <option value="2">Always use softcliped bases</option> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
68 <option value="0" selected="True">Automatic desicion (Default)</option> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
69 </param> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
70 <param name="mapquality" label="Map quality" type="integer" min="0" max="70" value="20" help="Exclude reads with lower mapQ than this number. Default=20"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
71 <param name="basequality" label="Base quality" type="integer" min="0" max="70" value="20" help="Exclude bases with lower Base quality than this number. Default=20"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
72 <param name="keepHTML_conditional" type="select" label="keep HTML output file?"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
73 <option value="yes">Yes</option> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
74 <option value="no">No</option> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
75 </param> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
76 </inputs> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
77 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
78 <outputs> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
79 <data name="output_table" format="txt" /> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
80 <data format="html" name="html_file" from_work_dir="Tasmanian_artifact_report.html" label="tasmanian-mismatch results table"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
81 <filter>keepHTML_conditional == "yes"</filter> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
82 </data> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
83 </outputs> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
84 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
85 <tests> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
86 <!-- test when reference from history with bed--> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
87 <test> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
88 <param name="bam_input" value="test2.bam" ftype="bam"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
89 <param name="reference_source_selector" value="history"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
90 <param name="ref_file" value="small_region.fa"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
91 <param name="bed_filename" value="test2.bed" ftype="bed"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
92 <output name="output_table" file="test2-bed.output" lines_diff="4"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
93 </test> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
94 <!-- test when reference from history without bed--> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
95 <test> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
96 <param name="bam_input" value="test2.bam" ftype="bam"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
97 <param name="reference_source_selector" value="history"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
98 <param name="ref_file" value="small_region.fa"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
99 <output name="output_table" file="test2-nobed.output" lines_diff="4"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
100 </test> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
101 <!-- test when reference from cached--> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
102 <test> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
103 <param name="bam_input" value="test2.bam" ftype="bam" dbkey="hg38"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
104 <param name="reference_source_selector" value="cached"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
105 <param name="ref_file" value="hg38"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
106 <output name="output_table" file="test2-nobed.output" lines_diff="4"/> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
107 </test> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
108 </tests> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
109 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
110 <help> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
111 <![CDATA[ |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
112 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
113 **What it does** |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
114 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
115 This tool counts the number/proportion of mismatches per position along the read, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
116 for each read (see figure below). |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
117 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
118 .. image:: ${static_path}/images/snapshot_good.jpg |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
119 :height: 350 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
120 :width: 650 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
121 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
122 ----- |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
123 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
124 **What is special** |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
125 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
126 By providing a bed file, tasmanian-mismatch will count mismatches from all regions depicted in the figure below, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
127 and will report them separately. Also, a parameter defined as *"confidence"* allows including reads with >= |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
128 bases in the boundary region in a separate group. This is useful when the bed refers to repeat regions. Since these |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
129 regions might not have been correctly placed in the assembly or are not the same in different individuals, we can |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
130 include this *confidence* repeat regions where we have high confidence on the reference genome to which we mapped the reads. |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
131 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
132 .. image:: ${static_path}/images/intersections_tasmanian.jpg |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
133 :height: 150 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
134 :width: 650 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
135 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
136 Softclips are critical in FFPE (Formalin-fixed paraffin-embedded) experiments as mismatches tend to accumulate at the ends of the reads. Most often, softclips |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
137 are all accepted during the analysis and many real mismatches are indirectly excluded from the analysis. Hence, this tool |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
138 provides different ways to deal with this: |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
139 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
140 The *softclips* field allows for 3 different ways at treating softclips: |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
141 0) Exclude these region if there is less than 2/3 identity with the reference genome |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
142 1) Exclude all softclipped bases |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
143 2) Include all softclipped bases |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
144 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
145 .. class:: warningmark |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
146 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
147 BAM/SAM file must be **sorted** if not using a bed file. |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
148 |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
149 ]]> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
150 </help> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
151 <citations> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
152 <citation type="bibtex"> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
153 @misc{githubtasmanian, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
154 author = {Langhorst B., Others, Erijman A.}, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
155 year = {2020}, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
156 title = {TBD}, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
157 publisher = {GitHub}, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
158 journal = {GitHub repository}, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
159 url = {https://github.com/nebiolabs/tasmanian-mismatch}, |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
160 } |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
161 </citation> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
162 </citations> |
bc0b40dec7d2
"planemo upload for repository https://github.com/nebiolabs/tasmanian-mismatch commit a64a371ca1ed117c9bd8af743d847128fbce461c"
iuc
parents:
diff
changeset
|
163 </tool> |