Mercurial > repos > jetbrains > span
annotate span.xml @ 2:5b99943c4627 draft
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
author | jetbrains |
---|---|
date | Sun, 18 Nov 2018 08:20:27 -0500 |
parents | 1f0c4f0a9c3b |
children | 4130e95bd6c8 |
rev | line source |
---|---|
0 | 1 <tool id="span" name="SPAN" version="0.7.1.4272"> |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
2 <description>Semi-supervised Peak Analyzer for ChIP-Seq data</description> |
0 | 3 <requirements> |
4 <requirement type="package" version="0.7.1.4272">package_span_jar</requirement> | |
5 </requirements> | |
6 <stdio> | |
7 <!-- Wrapper ensures anything other than zero is an error --> | |
8 <exit_code range="1:"/> | |
9 <exit_code range=":-1"/> | |
10 </stdio> | |
11 <command interpreter="python"> | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
12 #import re |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
13 #set treatment_identifier = re.sub('[^\w\-\.]', '_', str($treatment_file.element_identifier)) |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
14 #set genome_identifier = re.sub('[^\w\-\.]', '_', str($genome_file.element_identifier)) |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
15 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
16 #if $control.control_selector |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
17 #set control_identifier = re.sub('[^\w\-\.]', '_', str($control.control_file.element_identifier)) |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
18 #end if |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
19 |
0 | 20 #if str($action.action_selector) == "model" |
21 #if $control.control_selector | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
22 span_wrapper.py model with_control |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
23 "${genome_identifier}" "${genome_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
24 "${treatment_identifier}" "${treatment_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
25 "${bin}" "${action.model_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
26 "${control_identifier}" "${control.control_file}" |
0 | 27 #else |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
28 span_wrapper.py model without_control |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
29 "${genome_identifier}" "${genome_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
30 "${treatment_identifier}" "${treatment_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
31 "${bin}" "${action.model_file}" |
0 | 32 #end if |
33 #else | |
34 #if $control.control_selector | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
35 span_wrapper.py peaks with_control |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
36 "${genome_identifier}" "${genome_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
37 "${treatment_identifier}" "${treatment_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
38 "${bin}" "${action.model_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
39 "${control_identifier}" "${control.control_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
40 "${action.fdr}" "${action.gap}" "${action.peaks_file}" |
0 | 41 #else |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
42 span_wrapper.py peaks without_control |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
43 "${genome_identifier}" "${genome_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
44 "${treatment_identifier}" "${treatment_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
45 "${bin}" "${action.model_file}" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
46 "${action.fdr}" "${action.gap}" "${action.peaks_file}" |
0 | 47 #end if |
48 #end if | |
49 </command> | |
50 <inputs> | |
51 <param name="treatment_file" type="data" format="bam" label="Treatment BAM" | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
52 description="Treatment BAM reads to process" argument="--treatment" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
53 help="Treatment BAM reads to process"/> |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
54 <param name="genome_file" type="data" format="chrom.sizes" label="Genome chrom.sizes" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
55 description="Genome build chrom.sizes file" argument="--chrom.sizes" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
56 help="Genome build chrom.sizes file"/> |
0 | 57 |
58 <conditional name="control"> | |
59 <param name="control_selector" type="boolean" label="Control available" value="false"/> | |
60 <when value="true"> | |
61 <param name="control_file" type="data" format="bam" label="Control BAM" | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
62 description="Control BAM reads to process" argument="--control" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
63 help="Control BAM reads to process"/> |
0 | 64 </when> |
65 </conditional> | |
66 | |
67 <conditional name="action"> | |
68 <param name="action_selector" type="select" label="Action"> | |
69 <option value="model">Compute SPAN model</option> | |
70 <option value="peaks">Compute SPAN model and produce peaks file</option> | |
71 </param> | |
72 <when value="model"> | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
73 <param name="model_file" type="text" value="model.span" label="Model name" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
74 help="Trained model file in binary format, which can be visualized directly in JBR Genome Browser |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
75 and used in integrated peak calling pipeline"/> |
0 | 76 </when> |
77 <when value="peaks"> | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
78 <param name="model_file" type="text" value="model.span" label="Model file name" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
79 help="Trained model file in binary format, which can be visualized directly in JBR Genome Browser |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
80 and used in integrated peak calling pipeline"/> |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
81 <param name="fdr" size="5" type="float" value="0.0001" label="FDR" argument="--fdr" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
82 help="Minimum FDR cutoff to call significant regions, default value is 1.0E-6. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
83 SPAN reports p- and q- values for the null hypothesis that a given bin is not enriched with a histone modification. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
84 Peaks are formed from a list of truly (in the FDR sense) enriched bins for the analyzed biological condition by thresholding the |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
85 Q-value with a cutoff FDR and merging spatially close peaks using GAP option to broad ones. This is equivalent to controlling FDR. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
86 q-values are are calculated from p-values using Benjamini-Hochberg procedure."/> |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
87 <param name="gap" size="5" type="integer" value="5" label="GAP" argument="--gap" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
88 help="Gap size to merge spatially close peaks. Useful for wide histone modifications. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
89 Default value is 5, i.e. peaks separated by 5*BIN distance or less are merged."/> |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
90 <param name="peaks_file" type="text" value="result.peak" label="Peaks file name" argument="--peaks"/> |
0 | 91 </when> |
92 </conditional> | |
93 | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
94 <param name="bin" size="5" type="integer" value="200" label="Bin size" argument="--bin" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
95 help="Peak analysis is performed on read coverage tiled into consequent bins, with size being configurable. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
96 Default value is 200bp, approximately the length of one nucleosome."/> |
0 | 97 </inputs> |
98 <outputs> | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
99 <data name="SPAN model file" format="span" from_work_dir="*.span" label="SPAN model file ${action.model_file} on ${on_string}"/> |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
100 <data name="SPAN peaks file" format="bed" from_work_dir="*.peak" label="SPAN peaks file ${action.peaks_file} on ${on_string}"> |
0 | 101 <filter>action['action_selector'] == "peaks"</filter> |
102 </data> | |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
103 <data name="SPAN log file" format="txt" from_work_dir="*.log" label="SPAN log file on ${on_string}"/> |
0 | 104 </outputs> |
2
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
105 <help><![CDATA[ |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
106 .. class:: infomark |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
107 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
108 **What it does** |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
109 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
110 SPAN Semi-supervised Peak Analyzer is a tool for analyzing ChIP-seq data. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
111 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
112 ----- |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
113 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
114 **Inputs** |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
115 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
116 *-t, --treatment <Path>* **Required.** ChIP-seq treatment file. bam, bed or .bed.gz file; If multiple files are given, treated as replicates. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
117 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
118 *--chrom.sizes, --cs <Path>* **Required.** Chromosome sizes path, can be downloaded at http://hgdownload.cse.ucsc.edu/goldenPath/<build>/bigZips/<build>.chrom.sizes |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
119 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
120 *-c, --control <Path>* Control file. bam, bed or bed.gz file; Single control file or separate file per each treatment file required. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
121 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
122 *--fragment <Integer>* Fragment size, read length if not given |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
123 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
124 *-b, --bin <Integer>* Bin size |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
125 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
126 *-f, --fdr <Double>* Fdr value |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
127 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
128 *-g, --gap <Integer>* Gap size to merge peaks |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
129 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
130 *-p, --peaks <Path>* Path to result peaks file in ENCODE broadPeak (BED 6+3) format |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
131 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
132 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
133 ----- |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
134 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
135 **Outputs** |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
136 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
137 This tool produces a SPAN binary model file and/or peaks in ENCODE broadPeak (BED 6+3) format. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
138 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
139 Peak file columns contain the following data: |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
140 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
141 * **1st**: chromosome name |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
142 * **2nd**: start position of peak |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
143 * **3rd**: end position of peak |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
144 * **4th**: name of peak |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
145 * **5th**: integer score for display in genome browser (e.g. UCSC) |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
146 * **6th**: strand, either "." (=no strand) or "+" or "-" |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
147 * **7th**: fold-change |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
148 * **8th**: -log10pvalue |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
149 * **9th**: -log10qvalue |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
150 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
151 ----- |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
152 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
153 **SPAN workflow** |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
154 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
155 * Convert raw reads to tags using *FRAGMENT* parameter. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
156 * Compute coverage for all genome tiled into bins of *BIN* base pairs. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
157 * Fit 3-state hidden Markov model that classifies bins as ZERO states with no coverage, LOW states of non-specific binding, and HIGH states of the specific binding. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
158 * Compute posterior HIGH state probability of each bin. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
159 * Trained model is saved into *.span* binary format. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
160 * Peaks are computed using trained model and *FDR* and *GAP* parameters. |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
161 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
162 ------ |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
163 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
164 **Citation** |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
165 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
166 If you use this tool in Galaxy, please cite XXX, et al. *In preparation.* |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
167 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
168 ----- |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
169 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
170 **More Information** |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
171 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
172 * Project home page: https://research.jetbrains.org/groups/biolabs/tools/span-peak-analyzer |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
173 * Study cases: https://artyomovlab.wustl.edu/aging |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
174 |
5b99943c4627
Span version https://github.com/JetBrains-Research/galaxy-applications/commit/cbbba255d66a4775cc35caf5cb85665396fdcd2a
jetbrains
parents:
0
diff
changeset
|
175 ]]></help> |
0 | 176 </tool> |