annotate telescope_assign.xml @ 1:2d8c943f3e8d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
author iuc
date Wed, 24 Aug 2022 22:30:35 +0000
parents 66ff74923224
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
1 <tool id="telescope_assign" name="Reassign reads" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
0
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
2 <description>with TELESCOPE using a statistical model</description>
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
3 <xrefs>
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
4 <xref type="bio.tools">Telescope-expression</xref>
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
5 </xrefs>
0
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
6 <macros>
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
7 <token name="@TOOL_VERSION@">1.0.3</token>
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
8 <token name="@VERSION_SUFFIX@">1</token>
0
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
9 </macros>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
10 <requirements>
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
11 <requirement type="package" version="@TOOL_VERSION@">telescope</requirement>
0
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
12 <requirement type="package" version="1.9">samtools</requirement>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
13 </requirements>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
15 mkdir tempdir &&
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
16 mkdir outdir &&
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
17
0
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
18 telescope assign '$input_alignment' '$input_gtf'
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
19 --tempdir tempdir
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
20 --outdir outdir
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
21 ## Not supported https://github.com/mlbendall/telescope/blob/6cd55256c6016feffdbfe10346bfecfcb1e30965/README.md?plain=1#L129
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
22 ## --ncpu \${GALAXY_SLOTS:-1}
0
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
23 $updated_sam
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
24 #if str($advanced.advanced_options) == 'select':
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
25 --reassign_mode $advanced.reassign_mode
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
26 --conf_prob $advanced.conf_prob
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
27 --overlap_mode $advanced.overlap_mode
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
28 --overlap_threshold $advanced.overlap_threshold
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
29 --annotation_class $advanced.annotation_class
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
30 --pi_prior $advanced.pi_prior
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
31 --theta_prior $advanced.theta_prior
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
32 --em_epsilon $advanced.em_epsilon
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
33 --max_iter $advanced.max_iter
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
34 $advanced.use_likelihood
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
35 #end if
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
36 #if $updated_sam
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
37 &&
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
38 if [ -f outdir/telescope-updated.bam ] ; then
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
39 samtools sort -T "\${TMPDIR:-.}" outdir/telescope-updated.bam > '$updated_alignment' ;
0
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
40 else
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
41 echo 'Updated alignment file not found.' ;
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
42 exit 1 ;
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
43 fi
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
44 #end if
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
45 ]]></command>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
46 <inputs>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
47 <param name="input_alignment" type="data" format="sam,bam" label="Input SAM or BAM file" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
48 <param name="input_gtf" type="data" format="gtf" label="Input annotation" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
49 <param argument="--updated_sam" type="boolean" truevalue="--updated_sam" falsevalue="" label="Also output an updated BAM file with reassigned reads" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
50 <conditional name="advanced">
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
51 <param name="advanced_options" type="select" label="Advanced options">
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
52 <option value="defaults">Use defaults</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
53 <option value="select">Select values</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
54 </param>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
55 <when value="defaults" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
56 <when value="select">
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
57 <param argument="--reassign_mode" type="select" label="Reassignment mode"
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
58 help="After EM is complete, each fragment is reassigned according to the expected value of its membership weights. The reassignment method is the method for resolving the &quot;best&quot; reassignment for fragments that have multiple possible reassignments. Available modes are: &quot;exclude&quot; - fragments with multiple best assignments are excluded from the final counts; &quot;choose&quot; - the best assignment is randomly chosen from among the set of best assignments; &quot;average&quot; - the fragment is divided evenly among the best assignments; &quot;conf&quot; - only assignments that exceed a certain threshold (see --conf_prob) are accepted; &quot;unique&quot; - only uniquely aligned reads are included. NOTE: Results using all assignment modes are included in the Telescope report by default. This argument determines what mode will be used for the &quot;final counts&quot; column. (default: exclude)">
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
59 <option value="exclude">Exclude</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
60 <option value="choose">Choose</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
61 <option value="average">Average</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
62 <option value="conf">Conf</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
63 <option value="unique">Unique</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
64 </param>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
65 <param argument="--conf_prob" type="float" value="0.9" min="0" max="1" label="Minimum probability for high confidence assignment" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
66 <param argument="--overlap_mode" type="select" label="Overlap mode" help="The method used to determine whether a fragment overlaps feature">
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
67 <option value="threshold">Threshold</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
68 <option value="intersection-strict">Strict intersection</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
69 <option value="union">Union</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
70 </param>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
71 <param argument="--overlap_threshold" type="float" value="0.2" min="0" max="1" label="Fraction of fragment that must be contained within a feature to be assigned to that locus" help="Ignored unless overlap mode is 'threshold'" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
72 <param argument="--annotation_class" type="select" label="Annotation class" help="Both htseq and intervaltree appear to yield identical results. Performance differences are TBD.">
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
73 <option value="intervaltree">Interval tree</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
74 <option value="htseq">HTSeq</option>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
75 </param>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
76 <param argument="--pi_prior" type="integer" value="0" label="Prior on &#960;" help="Equivalent to adding n unique reads." />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
77 <param argument="--theta_prior" type="integer" value="0" label="Prior on &#952;" help="Equivalent to adding n non-unique reads." />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
78 <param argument="--em_epsilon" type="float" value="0.0000001" label="EM Algorithm &#965; cutoff" help="Default: 1e-7" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
79 <param argument="--max_iter" type="integer" value="100" label="EM Algorithm maximum iterations" help="Default: 100" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
80 <param argument="--use_likelihood" type="boolean" truevalue="--use_likelihood" falsevalue="" label="Use difference in log-likelihood as convergence criteria" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
81 </when>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
82 </conditional>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
83 </inputs>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
84 <outputs>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
85 <data name="output" format="tabular" from_work_dir="outdir/telescope-telescope_report.tsv" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
86 <data name="updated_alignment" format="bam">
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
87 <filter>updated_sam</filter>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
88 </data>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
89 </outputs>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
90 <tests>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
91 <test>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
92 <param name="input_alignment" value="telescope-in1.bam" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
93 <param name="input_gtf" value="telescope-in1.gtf" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
94 <param name="updated_sam" value="true" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
95 <output name="output" file="telescope-out1.tabular" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
96 <output name="updated_alignment" file="telescope-out1.bam" />
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
97 </test>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
98 </tests>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
99 <help><![CDATA[
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
100 Output
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
101 ------
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
102
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
103 Telescope has two main output files: the telescope report and an updated
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
104 SAM file (optional). The report file is most important for downstream
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
105 differential expression analysis since it contains the fragment count
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
106 estimates. The updated SAM file is useful for downstream locus-specific
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
107 analyses.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
108
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
109 Telescope report
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
110 ~~~~~~~~~~~~~~~~
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
111
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
112 The first line in the telescope report is a comment (starting with a
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
113 “#”) that contains information about the run such as the number of
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
114 fragments processed, number of mapped fragments, number of uniquely and
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
115 ambiguously mapped fragments, and number of fragments mapping to the
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
116 annotation. The total number of mapped fragments may be useful for
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
117 normalization.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
118
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
119 The rest of the report is a table with calculated expression values for
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
120 individual transposable element locations. The columns of the table are:
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
121
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
122 - ``transcript`` - Transcript ID, by default from "locus" field. See
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
123 --attribute argument to use a different attribute.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
124 - ``transcript_length`` - Approximate length of transcript. This is
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
125 calculated from the annotation, not the data, and is equal to the
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
126 spanning length of the annotation minus any non-model regions.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
127 - ``final_count`` - Total number of fragments assigned to transcript
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
128 after fitting the Telescope model. This is the column to use for
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
129 downstream analysis that models data as negative binomial, i.e.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
130 DESeq2.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
131 - ``final_conf`` - Final confident fragments. The number of fragments
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
132 assigned to transcript whose posterior probability exceeds a cutoff,
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
133 0.9 by default. Set this using the --conf_prob argument.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
134 - ``final_prop`` - Final proportion of fragments represented by
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
135 transcript. This is the final estimate of the π parameter.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
136 - ``init_aligned`` - Initial number of fragments aligned to transcript.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
137 A given fragment will contribute +1 to each transcript that it is
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
138 aligned to, thus the sum of this will be greater than the number of
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
139 fragments if there are multimapped reads.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
140 - ``unique_count`` - Unique count. Number of fragments aligning
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
141 uniquely to this transcript.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
142 - ``init_best`` - Initial number of fragments aligned to transcript
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
143 that have the "best" alignment score for that fragment. Fragments
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
144 that have the same best alignment score to multiple transcripts will
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
145 contribute +1 to each transcript.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
146 - ``init_best_random`` - Initial number of fragments aligned to
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
147 transcript that have the "best" alignment score for that fragment.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
148 Fragments that have the same best alignment score to multiple
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
149 transcripts will be randomly assigned to one transcript.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
150
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
151 Updated BAM file
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
152 ~~~~~~~~~~~~~~~~
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
153
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
154 The updated BAM file contains those fragments that has at least 1
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
155 initial alignment to a transposable element. The final assignment and
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
156 probabilities are encoded in the SAM tags:
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
157
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
158 - ``ZF:Z`` Assigned Feature - The name of the feature that alignment is
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
159 assigned to.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
160 - ``ZT:Z`` Telescope tag - A value of ``PRI`` indicates that this
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
161 alignment is the best hit for the feature and is used in the
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
162 likelihood calculations. Otherwise the value will be ``SEC``, meaning
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
163 that another alignment to the same feature has a higher score.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
164 - ``ZB:Z`` Best Feature = The name(s) of the highest scoring feature(s)
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
165 for the fragment.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
166 - ``YC:Z`` Specifies color for alignment as R,G,B. UCSC sanctioned tag,
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
167 see documentation `here.`_
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
168 - ``XP:Z`` Alignment probability - estimated posterior probability for
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
169 this alignment.
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
170
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
171 .. _here.: http://genome.ucsc.edu/goldenpath/help/hgBamTrackHelp.html
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
172
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
173 ]]>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
174 </help>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
175 <citations>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
176 <citation type="doi">10.1101/398172</citation>
66ff74923224 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 2ad29725263c29d7612d2e150801c212eb9a2463"
iuc
parents:
diff changeset
177 </citations>
1
2d8c943f3e8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/telescope commit 3a6e7428a808860068e7cc07a101aa10a31697b8
iuc
parents: 0
diff changeset
178 </tool>