annotate defuse.xml @ 9:9f30de0ff090 draft

Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
author Jim Johnson <jj@umn.edu>
date Mon, 14 Jan 2013 11:26:17 -0600
parents 57841f58676f
children f65857c1b92e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
1ea6445491d4 Update to deFuse version 0.6.0
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
1 <tool id="defuse" name="DeFuse" version="1.6">
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <description>identify fusion transcripts</description>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <requirements>
7
1ea6445491d4 Update to deFuse version 0.6.0
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
4 <requirement type="package" version="0.6.0">defuse</requirement>
1ea6445491d4 Update to deFuse version 0.6.0
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
5 <requirement type="package" version="0.1.18">samtools</requirement>
5
3bd1087db05e Add dependecies for bowtie, blat, and faToTwoBit
Jim Johnson <jj@umn.edu>
parents: 4
diff changeset
6 <requirement type="package" version="0.12.7">bowtie</requirement>
7
1ea6445491d4 Update to deFuse version 0.6.0
Jim Johnson <jj@umn.edu>
parents: 6
diff changeset
7 <requirement type="package" version="2012-07-20">gmap</requirement>
5
3bd1087db05e Add dependecies for bowtie, blat, and faToTwoBit
Jim Johnson <jj@umn.edu>
parents: 4
diff changeset
8 <requirement type="package" version="34x10">blat</requirement>
3bd1087db05e Add dependecies for bowtie, blat, and faToTwoBit
Jim Johnson <jj@umn.edu>
parents: 4
diff changeset
9 <requirement type="package" version="34x10">fatotwobit</requirement>
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10 </requirements>
3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
11 <command interpreter="command"> /bin/bash $shscript </command>
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 <inputs>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 <param name="left_pairendreads" type="data" format="fastq" label="left part of read pairs" help="The left and right reads pairs must be in the same order, and not have any unpaired reads. (FASTQ interlacer will pair reads and remove the unpaired. FASTQ de-interlacer will separate the result into left and right reads.)"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 <param name="right_pairendreads" type="data" format="fastq" label="right part of read pairs" help="In the same order as the left reads"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 <conditional name="refGenomeSource">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 <param name="genomeSource" type="select" label="Will you select a built-in DeFuse Reference Dataset, or supply a configuration from your history" help="">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 <option value="indexed">Use a built-in DeFuse Reference Dataset</option>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 <option value="history">Use a configuration from your history that specifies the DeFuse Reference Dataset</option>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 <when value="indexed">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 <param name="index" type="select" label="Select a Reference Dataset" help="if your genome of interest is not listed - contact Galaxy team">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 <options from_file="defuse.loc">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 <column name="name" index="1"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 <column name="value" index="2"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 <filter type="sort_by" column="0" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 <validator type="no_options" message="No indexes are available" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 </options>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 <conditional name="defuse_param">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 <param name="settings" type="select" label="Defuse parameter settings" help="">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 <option value="preSet">Default settings</option>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 <option value="full">Full parameter list</option>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 <when value="preSet" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 <when value="full">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
36 <param name="max_insert_size" type="integer" value="500" optional="true" label="Bowtie max_insert_size" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37 <param name="dna_concordant_length" type="integer" value="2000" optional="true" label="Minimum gene fusion range dna_concordant_length" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 <param name="discord_read_trim" type="integer" value="50" optional="true" label="Trim length for discordant reads discord_read_trim" help="(split reads are not trimmed)" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 <param name="clustering_precision" type="float" value=".95" optional="true" label="Filter clustering_precision">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 <validator type="in_range" message="Choose a value between .1 and 1.0" min=".1" max="1"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 <param name="span_count_threshold" type="integer" value="5" optional="true" label="Filter span_count_threshold" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 <param name="split_count_threshold" type="integer" value="3" optional="true" label="Filter split_count_threshold" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44 <param name="percent_identity_threshold" type="float" value=".90" optional="true" label="Filter percent_identity_threshold">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 <validator type="in_range" message="Choose a value between .1 and 1.0" min=".1" max="1"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
46 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 <param name="max_dist_pos" type="integer" value="600" optional="true" label="Filter max_dist_pos" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 <param name="num_dist_genes" type="integer" value="500" optional="true" label="Filter num_dist_genes" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49 <param name="split_min_anchor" type="integer" value="4" optional="true" label="Filter split_min_anchor" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
50 <param name="max_concordant_ratio" type="float" value="0.1" optional="true" label="Filter max_concordant_ratio">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 <validator type="in_range" message="Choose a value between 0.0 and 1.0" min="0" max="1"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 <param name="splice_bias" type="integer" value="10" optional="true" label="Filter splice_bias" />
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
54 <param name="probability_threshold" type="float" value="0.50" optional="true" label="Filter probability_threshold">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 <validator type="in_range" message="Choose a value between 0.0 and 1.0" min="0" max="1"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 <param name="covariance_sampling_density" type="float" value="0.01" optional="true" label="covariance_sampling_density">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 <help>Position density when calculating covariance</help>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
59 <validator type="in_range" message="Choose a value between 0.0 and 1.0" min="0" max="1"/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
60 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
61 <param name="denovo_assembly" type="select" label="denovo_assembly" help="">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
62 <option value="">Use Default</option>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
63 <option value="no">no</option>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64 <option value="yes">yes</option>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 </param>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66 <!--
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 <param name="positive_controls" type="data" format="txt" optional=true label="Defuse positive_controls" help=""/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68 -->
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
69 </when> <!-- full -->
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
70 </conditional> <!-- defuse_param -->
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
71 </when>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
72 <when value="history">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
73 <param name="config" type="data" format="txt" label="Defuse Config file" help=""/>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
74 </when> <!-- history -->
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
75 </conditional> <!-- refGenomeSource -->
6
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
76 <param name="keep_output" type="boolean" checked="true" truevalue="yes" falsevalue="no" label="Save DeFuse working directory files"
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
77 help="The defuse output working directory can be helpful for determining errors that may have occurred during the run,
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
78 but they require considerable diskspace, and should be deleted and purged when no longer needed."/>
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
79 <param name="do_get_reads" type="boolean" checked="true" truevalue="yes" falsevalue="no" label="Run get_reads on each cluster"/>
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
80 </inputs>
6
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
81 <outputs>
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
82 <data format="txt" name="config_txt" label="${tool.name} on ${on_string}: config.txt"/>
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
83 <data format="txt" name="defuse_log" label="${tool.name} on ${on_string}: defuse.log" />
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
84 <data format="html" name="defuse_out" label="${tool.name} on ${on_string}: defuse_output (purge when no longer needed)">
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
85 <filter>keep_output == True</filter>
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
86 </data>
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
87 <data format="tabular" name="results_tsv" label="${tool.name} on ${on_string}: results.tsv" />
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
88 <data format="tabular" name="results_classify_tsv" label="${tool.name} on ${on_string}: results.classify.tsv" />
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
89 <data format="tabular" name="results_filtered_tsv" label="${tool.name} on ${on_string}: results.filtered.tsv" />
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
90 <data format="html" name="fusion_reads" label="${tool.name} on ${on_string}: fusion_reads">
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
91 <filter>do_get_reads == True</filter>
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
92 </data>
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
93 </outputs>
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
94 <configfiles>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
95 <configfile name="defuse_config">
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
96 #import ast
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
97 #if $refGenomeSource.genomeSource == "history":
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
98 #include raw $refGenomeSource.config.__str__
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
99 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
100 #set $ref_dict = dict($ast.literal_eval($refGenomeSource.index.value))
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
101 #
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
102 # Configuration file for defuse
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
103 #
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
104 # At a minimum, change all values enclused by []
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
105 #
2
4245c2b047de Changes for defuse-0.4.3, modifications for non-human genomes no longer required, defuse.xml searches for location of scripts/defuse.pl
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
106
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
107 # Directory where the defuse code was unpacked
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
108 ## Default location in the tool/defuse directory
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
109 # source_directory = ${__root_dir__}/tools/defuse
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
110 source_directory = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
111 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
112 $ref_dict['source_directory']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
113 #except
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
114 __DEFUSE_PATH__
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
115 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
116
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
117 # Directory where you want your dataset
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
118 dataset_directory = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
119 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
120 $ref_dict['dataset_directory']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
121 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
122 /project/db/genomes/Hsapiens/hg19/defuse
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
123 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
124
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
125 # Input genome and gene models
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
126 gene_models = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
127 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
128 $ref_dict['gene_models']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
129 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
130 \$(dataset_directory)/Homo_sapiens.GRCh37.62.gtf
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
131 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
132 genome_fasta = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
133 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
134 $ref_dict['genome_fasta']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
135 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
136 \$(dataset_directory)/Homo_sapiens.GRCh37.62.dna.chromosome.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
137 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
138
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
139 # Repeat table from ucsc genome browser
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
140 repeats_filename = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
141 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
142 $ref_dict['repeats_filename']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
143 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
144 \$(dataset_directory)/rmsk.txt
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
145 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
146
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
147 # EST info downloaded from ucsc genome browser
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
148 est_fasta = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
149 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
150 $ref_dict['est_fasta']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
151 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
152 \$(dataset_directory)/est.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
153 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
154 est_alignments = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
155 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
156 $ref_dict['est_alignments']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
157 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
158 \$(dataset_directory)/intronEst.txt
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
159 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
160
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
161 # Unigene clusters downloaded from ncbi
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
162 unigene_fasta = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
163 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
164 $ref_dict['unigene_fasta']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
165 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
166 \$(dataset_directory)/Hs.seq.uniq
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
167 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
168
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
169 # Paths to external tools
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
170 bowtie_bin = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
171 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
172 $ref_dict['bowtie_bin']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
173 #except
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
174 __BOWTIE_BIN__
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
175 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
176 bowtie_build_bin = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
177 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
178 $ref_dict['bowtie_build_bin']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
179 #except
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
180 __BOWTIE_BUILD_BIN__
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
181 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
182 blat_bin = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
183 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
184 $ref_dict['blat_bin']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
185 #except
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
186 __BLAT_BIN__
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
187 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
188 fatotwobit_bin = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
189 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
190 $ref_dict['fatotwobit_bin']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
191 #except
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
192 __FATOTWOBIT_BIN__
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
193 #end try
8
57841f58676f Add gmap_bin to defuse.xml configfile generation
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
194 gmap_bin = #slurp
57841f58676f Add gmap_bin to defuse.xml configfile generation
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
195 #try
57841f58676f Add gmap_bin to defuse.xml configfile generation
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
196 $ref_dict['gmap_bin']
57841f58676f Add gmap_bin to defuse.xml configfile generation
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
197 #except
57841f58676f Add gmap_bin to defuse.xml configfile generation
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
198 __GMAP_BIN__
57841f58676f Add gmap_bin to defuse.xml configfile generation
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
199 #end try
9
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
200 gmap_bin = #slurp
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
201 #try
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
202 $ref_dict['gmap_bin']
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
203 #except
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
204 __GMAP_BIN__
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
205 #end try
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
206 gmap_setup_bin = #slurp
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
207 #try
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
208 $ref_dict['gmap_setup_bin']
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
209 #except
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
210 __GMAP_SETUP_BIN__
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
211 #end try
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
212 r_bin = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
213 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
214 $ref_dict['r_bin']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
215 #except
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
216 __R_BIN__
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
217 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
218 rscript_bin = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
219 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
220 $ref_dict['rscript_bin']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
221 #except
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
222 __RSCRIPT_BIN__
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
223 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
224
9
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
225 # Directory where you want your dataset
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
226 gmap_index_directory = #slurp
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
227 #try
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
228 $ref_dict['gmap_index_directory']
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
229 #except
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
230 $(dataset_directory)/gmap
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
231 #end try
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
232
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
233
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
234 #raw
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
235 # Dataset files
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
236 dataset_prefix = $(dataset_directory)/defuse
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
237 chromosome_prefix = $(dataset_prefix).dna.chromosomes
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
238 exons_fasta = $(dataset_prefix).exons.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
239 cds_fasta = $(dataset_prefix).cds.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
240 cdna_regions = $(dataset_prefix).cdna.regions
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
241 cdna_fasta = $(dataset_prefix).cdna.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
242 reference_fasta = $(dataset_prefix).reference.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
243 rrna_fasta = $(dataset_prefix).rrna.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
244 ig_gene_list = $(dataset_prefix).ig.gene.list
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
245 repeats_regions = $(dataset_directory)/repeats.regions
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
246 est_split_fasta1 = $(dataset_directory)/est.1.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
247 est_split_fasta2 = $(dataset_directory)/est.2.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
248 est_split_fasta3 = $(dataset_directory)/est.3.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
249 est_split_fasta4 = $(dataset_directory)/est.4.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
250 est_split_fasta5 = $(dataset_directory)/est.5.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
251 est_split_fasta6 = $(dataset_directory)/est.6.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
252 est_split_fasta7 = $(dataset_directory)/est.7.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
253 est_split_fasta8 = $(dataset_directory)/est.8.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
254 est_split_fasta9 = $(dataset_directory)/est.9.fa
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
255
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
256 # Fasta files with bowtie indices for prefiltering reads for concordantly mapping pairs
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
257 prefilter1 = $(unigene_fasta)
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
258
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
259 # deFuse scripts and tools
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
260 scripts_directory = $(source_directory)/scripts
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
261 tools_directory = $(source_directory)/tools
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
262 data_directory = $(source_directory)/data
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
263 #end raw
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
264
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
265 # Path to samtools, 0.1.8 is compiled for you, use other versions at your own risk
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
266 samtools_bin = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
267 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
268 $ref_dict['samtools_bin']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
269 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
270 \$(source_directory)/external/samtools-0.1.8/samtools
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
271 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
272
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
273 # Bowtie parameters
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
274 bowtie_threads = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
275 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
276 $ref_dict['bowtie_threads']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
277 #except
3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
278 4
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
279 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
280 bowtie_quals = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
281 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
282 $ref_dict['bowtie_quals']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
283 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
284 --phred33-quals
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
285 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
286 max_insert_size = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
287 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.max_insert_size.__str__ != "":
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
288 $refGenomeSource.defuse_param.max_insert_size
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
289 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
290 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
291 $ref_dict['max_insert_size']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
292 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
293 500
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
294 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
295 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
296
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
297 # Parameters for building the dataset
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
298 chromosomes = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
299 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
300 $ref_dict.chromosomes
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
301 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
302 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,X,Y,MT
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
303 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
304 mt_chromosome = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
305 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
306 $ref_dict['mt_chromosome']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
307 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
308 MT
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
309 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
310 gene_sources = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
311 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
312 $ref_dict['gene_sources']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
313 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
314 IG_C_gene,IG_D_gene,IG_J_gene,IG_V_gene,processed_transcript,protein_coding
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
315 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
316 ig_gene_sources = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
317 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
318 $ref_dict['ig_gene_sources']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
319 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
320 IG_C_gene,IG_D_gene,IG_J_gene,IG_V_gene,IG_pseudogene
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
321 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
322 rrna_gene_sources = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
323 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
324 $ref_dict['rrna_gene_sources']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
325 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
326 Mt_rRNA,rRNA,rRNA_pseudogene
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
327 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
328
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
329 # Blat sequences per job
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
330 num_blat_sequences = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
331 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
332 $ref_dict['num_blat_sequences']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
333 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
334 10000
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
335 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
336
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
337 # Minimum gene fusion range
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
338 dna_concordant_length = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
339 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.dna_concordant_length.__str__ != "":
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
340 $refGenomeSource.defuse_param.dna_concordant_length
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
341 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
342 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
343 $ref_dict['dna_concordant_length']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
344 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
345 2000
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
346 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
347 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
348
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
349 # Trim length for discordant reads (split reads are not trimmed)
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
350 discord_read_trim = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
351 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.discord_read_trim.__str__ != "":
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
352 $refGenomeSource.defuse_param.discord_read_trim
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
353 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
354 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
355 $ref_dict['discord_read_trim']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
356 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
357 50
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
358 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
359 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
360
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
361 # Filtering parameters
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
362 clustering_precision = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
363 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.clustering_precision.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
364 $refGenomeSource.defuse_param.clustering_precision
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
365 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
366 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
367 $ref_dict['clustering_precision']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
368 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
369 0.95
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
370 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
371 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
372 span_count_threshold = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
373 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.span_count_threshold.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
374 $refGenomeSource.defuse_param.span_count_threshold
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
375 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
376 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
377 $ref_dict['span_count_threshold']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
378 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
379 5
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
380 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
381 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
382 split_count_threshold = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
383 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.split_count_threshold.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
384 $refGenomeSource.defuse_param.split_count_threshold
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
385 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
386 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
387 $ref_dict['split_count_threshold']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
388 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
389 3
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
390 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
391 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
392 percent_identity_threshold = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
393 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.percent_identity_threshold.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
394 $refGenomeSource.defuse_param.percent_identity_threshold
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
395 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
396 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
397 $ref_dict['percent_identity_threshold']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
398 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
399 0.90
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
400 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
401 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
402 max_dist_pos = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
403 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.max_dist_pos.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
404 $refGenomeSource.defuse_param.max_dist_pos
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
405 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
406 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
407 $ref_dict['max_dist_pos']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
408 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
409 600
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
410 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
411 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
412 num_dist_genes = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
413 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.num_dist_genes.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
414 $refGenomeSource.defuse_param.num_dist_genes
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
415 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
416 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
417 $ref_dict['num_dist_genes']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
418 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
419 500
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
420 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
421 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
422 split_min_anchor = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
423 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.split_min_anchor.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
424 $refGenomeSource.defuse_param.split_min_anchor
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
425 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
426 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
427 $ref_dict['split_min_anchor']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
428 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
429 4
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
430 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
431 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
432 max_concordant_ratio = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
433 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.max_concordant_ratio.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
434 $refGenomeSource.defuse_param.max_concordant_ratio
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
435 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
436 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
437 $ref_dict['max_concordant_ratio']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
438 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
439 0.1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
440 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
441 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
442 splice_bias = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
443 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.splice_bias.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
444 $refGenomeSource.defuse_param.splice_bias
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
445 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
446 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
447 $ref_dict['splice_bias']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
448 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
449 10
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
450 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
451 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
452 denovo_assembly = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
453 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.denovo_assembly.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
454 $refGenomeSource.defuse_param.denovo_assembly
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
455 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
456 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
457 $ref_dict['denovo_assembly']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
458 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
459 no
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
460 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
461 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
462 probability_threshold = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
463 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.probability_threshold.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
464 $refGenomeSource.defuse_param.probability_threshold
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
465 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
466 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
467 $ref_dict['probability_threshold']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
468 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
469 0.50
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
470 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
471 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
472 positive_controls = \$(data_directory)/controls.txt
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
473
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
474 # Position density when calculating covariance
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
475 covariance_sampling_density = #slurp
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
476 #if $refGenomeSource.defuse_param.settings == "full" and $refGenomeSource.defuse_param.covariance_sampling_density.__str__ != ""
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
477 $refGenomeSource.defuse_param.covariance_sampling_density
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
478 #else
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
479 #try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
480 $ref_dict['covariance_sampling_density']
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
481 #except
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
482 0.01
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
483 #end try
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
484 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
485
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
486
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
487 # Number of reads for each job in split
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
488 reads_per_job = 1000000
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
489
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
490 # Number of regions for each breakpoint sequence job in split
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
491 regions_per_job = 20
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
492
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
493 #raw
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
494 # If you have command line 'mail' and wish to be notified
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
495 # mailto = andrew.mcpherson@gmail.com
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
496
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
497 # Remove temp files
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
498 remove_job_files = yes
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
499 remove_job_temp_files = yes
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
500
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
501 # Converting to fastq
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
502 # Fastq converter config format 1 for reads stored in separate files for each end
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
503 # data_lane_rexex_N is a perl regex which stores the lane id in $1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
504 # data_end_regex_N is a perl regex which stores the end, 1 or 2, in $1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
505 # data_compress_regex_N is a perl regex which stores the compression extension in $1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
506 # data_convert_N is the associated conversion utility that takes data at stdin and outputs fastq at stdout
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
507 # Fastq converter config format 2 for reads stored in separate files for each end
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
508 # data_lane_regex_N is a perl regex which stores the lane id in $1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
509 # data_compress_regex_N is a perl regex which stores the compression extension in $1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
510 # data_end1_converter_N is the associated conversion utility that takes data at stdin and outputs fastq for end 1 at stdout
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
511 # data_end2_converter_N is the associated conversion utility that takes data at stdin and outputs fastq for end 2 at stdout
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
512
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
513 data_lane_regex_1 = ^(.+)_[12]_export\.txt.*$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
514 data_end_regex_1 = ^.+_([12])_export\.txt.*$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
515 data_compress_regex_1 = ^.+_[12]_export\.txt(.*)$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
516 data_converter_1 = $(scripts_directory)/fq_all2std.pl export2std
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
517
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
518 data_lane_regex_2 = ^(.+)_[12]_concat_qseq\.txt.*$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
519 data_end_regex_2 = ^.+_([12])_concat_qseq\.txt.*$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
520 data_compress_regex_2 = ^.+_[12]_concat_qseq\.txt(.*)$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
521 data_converter_2 = $(scripts_directory)/qseq2fastq.pl
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
522
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
523 data_lane_regex_3 = ^(.+)\.bam.*$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
524 data_compress_regex_3 = ^.+\.bam(.*)$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
525 data_end1_converter_3 = samtools view - | filter_sam_mate.pl 1 | sam_to_fastq.pl
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
526 data_end2_converter_3 = samtools view - | filter_sam_mate.pl 2 | sam_to_fastq.pl
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
527
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
528 data_lane_regex_4 = ^(.+).[12].fastq.*$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
529 data_end_regex_4 = ^.+.([12]).fastq.*$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
530 data_compress_regex_4 = ^.+.[12].fastq(.*)$
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
531 data_converter_4 = cat
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
532 #end raw
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
533
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
534 #end if
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
535
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
536 </configfile>
3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
537 <configfile name="shscript">
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
538 #!/bin/bash
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
539 ## define some things for cheetah proccessing
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
540 #set $ds = chr(36)
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
541 #set $amp = chr(38)
3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
542 #set $gt = chr(62)
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
543 #set $lt = chr(60)
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
544 #set $echo_cmd = 'echo'
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
545 ## Find the defuse.pl in the galaxy tool path
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
546 #import Cheetah.FileUtils
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
547 ## declare a bash function for converting a results tsv into html with links to the get_reads output files
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
548 results2html() {
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
549 rlts=${ds}1
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
550 rslt_name=`basename ${ds}rlts`
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
551 html=${ds}2
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
552 echo '${lt}html${gt}${lt}head${gt}${lt}title${gt}Defuse '${ds}rslt_name'${lt}/title${gt}${lt}/head${gt}${lt}body${gt}' ${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
553 echo '${lt}h2${gt}Defuse '${ds}rslt_name'${lt}/h2${gt}${lt}table${gt}' ${gt}${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
554 if [ -z "${ds}3" ]
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
555 then
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
556 awk '${ds}1 ~ /cluster_id/{printf("${lt}tr${gt}");for (i = 1; i ${lt}= NF; i++) {printf("${lt}th${gt}%s${lt}/th${gt}", ${ds}i);}; printf("${lt}/tr${gt}\n");}\
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
557 ${ds}1 ~ /[1-9][0-9]*/{printf("${lt}tr${gt}");for (i = 1; i ${lt}= NF; i++) {printf("${lt}td${gt}%s${lt}/td${gt}", ${ds}i);}; printf("${lt}/tr${gt}\n");}' ${ds}rlts ${gt}${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
558 echo '${lt}/table${gt}' ${gt}${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
559 echo '${lt}/body${gt}${lt}/html${gt}' ${gt}${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
560 else
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
561 export _EFP=${ds}3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
562 mkdir -p ${ds}_EFP
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
563 awk '${ds}1 ~ /cluster_id/{printf("${lt}tr${gt}");for (i = 1; i ${lt}= NF; i++) {printf("${lt}th${gt}%s${lt}/th${gt}", ${ds}i);}; printf("${lt}/tr${gt}\n");}\
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
564 ${ds}1 ~ /[1-9][0-9]*/{fn="cluster_"${ds}1"_reads.txt"; \
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
565 printf("${lt}tr${gt}${lt}td${gt}${lt}a href=\"%s\"${gt}%s${lt}/a${gt}${lt}/td${gt}",fn, ${ds}1);for (i = 2; i ${lt}= NF; i++) {printf("${lt}td${gt}%s${lt}/td${gt}", ${ds}i);}; printf("${lt}/tr${gt}\n");}' ${ds}rlts ${gt}${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
566 echo '${lt}/table${gt}' ${gt}${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
567 echo '${lt}/body${gt}${lt}/html${gt}' ${gt}${gt} ${ds}html
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
568 for i in `awk '${ds}1 ~ /[1-9][0-9]*/{print ${ds}1}' ${ds}rlts`;
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
569 do fn=cluster_${ds}{i}_reads.txt;
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
570 pn=${ds}_EFP/${ds}fn;
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
571 perl \${DEFUSE_PATH}/scripts/get_reads.pl -c $defuse_config -o output_dir -i ${ds}i ${gt} ${ds}pn;
3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
572 done
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
573 fi
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
574 }
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
575 ## substitute pathnames into config file
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
576 if `grep __DEFUSE_PATH__ $defuse_config ${gt} /dev/null`;then sed -i'.tmp' "s#__DEFUSE_PATH__#\${DEFUSE_PATH}#" $defuse_config; fi
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
577 if `grep __SAMTOOLS_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} SAMTOOLS_BIN=`which samtools`;then sed -i'.tmp' "s#__SAMTOOLS_BIN__#\${SAMTOOLS_BIN}#" $defuse_config; fi
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
578 if `grep __BOWTIE_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} BOWTIE_BIN=`which bowtie`;then sed -i'.tmp' "s#__BOWTIE_BIN__#\${BOWTIE_BIN}#" $defuse_config; fi
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
579 if `grep __BOWTIE_BUILD_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} BOWTIE_BUILD_BIN=`which bowtie-build`;then sed -i'.tmp' "s#__BOWTIE_BUILD_BIN__#\${BOWTIE_BUILD_BIN}#" $defuse_config; fi
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
580 if `grep __BLAT_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} BLAT_BIN=`which blat`;then sed -i'.tmp' "s#__BLAT_BIN__#\${BLAT_BIN}#" $defuse_config; fi
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
581 if `grep __FATOTWOBIT_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} FATOTWOBIT_BIN=`which faToTwoBit`;then sed -i'.tmp' "s#__FATOTWOBIT_BIN__#\${FATOTWOBIT_BIN}#" $defuse_config; fi
8
57841f58676f Add gmap_bin to defuse.xml configfile generation
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
582 if `grep __GMAP_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} GMAP_BIN=`which gmap`;then sed -i'.tmp' "s#__GMAP_BIN__#\${GMAP_BIN}#" $defuse_config; fi
9
9f30de0ff090 Add gmap_setup_bin and gmap_index_directory to defuse.xml config file generation
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
583 if `grep __GMAP_SETUP_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} GMAP_SETUP_BIN=`which gmap_setup`;then sed -i'.tmp' "s#__GMAP_SETUP_BIN__#\${GMAP_SETUP_BIN}#" $defuse_config; fi
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
584 if `grep __R_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} R_BIN=`which R`;then sed -i'.tmp' "s#__R_BIN__#\${R_BIN}#" $defuse_config; fi
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
585 if `grep __RSCRIPT_BIN__ $defuse_config ${gt} /dev/null` ${amp}${amp} RSCRIPT_BIN=`which Rscript`;then sed -i'.tmp' "s#__RSCRIPT_BIN__#\${RSCRIPT_BIN}#" $defuse_config; fi
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
586
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
587
3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
588 ## copy config to output
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
589 cp $defuse_config $config_txt
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
590 ## make a data_dir and ln -s the input fastq
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
591 mkdir -p data_dir
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
592 ln -s $left_pairendreads data_dir/reads_1.fastq
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
593 ln -s $right_pairendreads data_dir/reads_2.fastq
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
594 ## ln to output_dir in from_work_dir
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
595 #if $defuse_out.__str__ != 'None':
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
596 mkdir -p $defuse_out.extra_files_path
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
597 ln -s $defuse_out.extra_files_path output_dir
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
598 #else
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
599 mkdir -p output_dir
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
600 #end if
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
601 ## run defuse.pl
4
679a5c7b1294 deFuse version 0.5.0 - Use tool_dependencies.xml
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
602 perl \${DEFUSE_PATH}/scripts/defuse.pl -c $defuse_config -d data_dir -o output_dir -p 8
3
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
603 ## copy primary results to output datasets
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
604 if [ -e output_dir/log/defuse.log ]; then cp output_dir/log/defuse.log $defuse_log; fi
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
605 if [ -e output_dir/results.tsv ]; then cp output_dir/results.tsv $results_tsv; fi
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
606 if [ -e output_dir/results.filtered.tsv ]; then cp output_dir/results.filtered.tsv $results_filtered_tsv; fi
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
607 if [ -e output_dir/results.classify.tsv ]; then cp output_dir/results.classify.tsv $results_classify_tsv; fi
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
608 ## create html with links for output_dir
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
609 #if $defuse_out.__str__ != 'None':
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
610 if [ -e $defuse_out ]
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
611 then
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
612 echo '${lt}html${gt}${lt}head${gt}${lt}title${gt}Defuse Output${lt}/title${gt}${lt}/head${gt}${lt}body${gt}' ${gt} $defuse_out
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
613 echo '${lt}h2${gt}Defuse Output Files${lt}/h2${gt}${lt}ul${gt}' ${gt}${gt} $defuse_out
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
614 pushd $defuse_out.extra_files_path
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
615 for f in `find -L . -maxdepth 1 -type f`;
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
616 do fn=`basename ${ds}f`; echo '${lt}li${gt}${lt}a href="'${ds}fn'"${gt}'${ds}fn'${lt}/a${gt}${lt}/li${gt}' ${gt}${gt} $defuse_out;
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
617 done
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
618 popd
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
619 echo '${lt}/ul${gt}' ${gt}${gt} $defuse_out
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
620 echo '${lt}/body${gt}${lt}/html${gt}' ${gt}${gt} $defuse_out
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
621 fi
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
622 #end if
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
623 ## run get_reads.pl on each cluster
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
624 #if $fusion_reads.__str__ != 'None':
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
625 if [ -e output_dir/results.filtered.tsv -a -e $fusion_reads ]
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
626 then
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
627 mkdir -p $fusion_reads.extra_files_path
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
628 results2html output_dir/results.filtered.tsv $fusion_reads $fusion_reads.extra_files_path
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
629 fi
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
630 #end if
c90022a13c7c DeFuse - Allow user to save the workspace, create an html file with links to the files in the workspace.
Jim Johnson <jj@umn.edu>
parents: 2
diff changeset
631 </configfile>
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
632 </configfiles>
6
6e30713cefb0 Edit labels and help.
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
633
1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
634 <tests>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
635 </tests>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
636 <help>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
637 **DeFuse**
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
638
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
639 DeFuse_ is a software package for gene fusion discovery using RNA-Seq data. The software uses clusters of discordant paired end alignments to inform a split read alignment analysis for finding fusion boundaries. The software also employs a number of heuristic filters in an attempt to reduce the number of false positives and produces a fully annotated output for each predicted fusion.
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
640
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
641 Journal reference: http://www.ploscompbiol.org/article/info%3Adoi%2F10.1371%2Fjournal.pcbi.1001138
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
642
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
643 .. _DeFuse: http://sourceforge.net/apps/mediawiki/defuse/index.php?title=Main_Page
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
644
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
645 ------
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
646
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
647 **Inputs**
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
648
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
649 DeFuse requires 2 fastq files for paried reads, one with the left mate of the paired reads, and a second fastq with the the right mate of the paired reads (**with reads in the same order as in the first fastq dataset**).
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
650
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
651 If your fastq files have reads in different orders or include unpaired reads, you can preprocess them with **FASTQ interlacer** to create a single interlaced fastq dataset with only the paired reads and input that to **FASTQ de-interlacer** to separate the reads into a left fastq and right fastq.
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
652
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
653 DeFuse uses a Reference Dataset to search for gene fusions. The Reference Dataset is generated from the following sources in DeFuse_Version_0.4_:
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
654 - genome_fasta from Ensembl
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
655 - gene_models from Ensembl
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
656 - repeats_filename from UCSC RepeatMasker rmsk.txt
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
657 - est_fasta from UCSC
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
658 - est_alignments from UCSC intronEst.txt
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
659 - unigene_fasta from NCBI
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
660
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
661 .. _DeFuse_Version_0.4: http://sourceforge.net/apps/mediawiki/defuse/index.php?title=DeFuse_Version_0.4.2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
662
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
663 ------
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
664
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
665 **Outputs**
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
666
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
667 The galaxy history will contain 5 outputs: the config.txt file that provides DeFuse with its parameters, the defuse.log which details what DeFuse has done and can be useful in determining any errors, and the 3 results files that defuse generates.
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
668
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
669 DeFuse generates 3 results files: results.txt, results.filtered.txt, and results.classify.txt. All three files have the same format, though results.classify.txt has a probability column from the application of the classifier to results.txt, and results.filtered.txt has been filtered according to the threshold probability as set in config.txt.
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
670
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
671 The file format is tab delimited with one prediction per line, and the following fields per prediction (not necessarily in this order):
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
672
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
673 - **Identification**
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
674 - cluster_id : random identifier assigned to each prediction
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
675 - library_name : library name given on the command line of defuse
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
676 - gene1 : ensembl id of gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
677 - gene2 : ensembl id of gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
678 - gene_name1 : name of gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
679 - gene_name2 : name of gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
680 - **Evidence**
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
681 - break_predict : breakpoint prediction method, denovo or splitr, that is considered most reliable
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
682 - concordant_ratio : proportion of spanning reads considered concordant by blat
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
683 - denovo_min_count : minimum kmer count across denovo assembled sequence
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
684 - denovo_sequence : fusion sequence predicted by debruijn based denovo sequence assembly
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
685 - denovo_span_pvalue : p-value, lower values are evidence the prediction is a false positive
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
686 - gene_align_strand1 : alignment strand for spanning read alignments to gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
687 - gene_align_strand2 : alignment strand for spanning read alignments to gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
688 - min_map_count : minimum of the number of genomic mappings for each spanning read
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
689 - max_map_count : maximum of the number of genomic mappings for each spanning read
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
690 - mean_map_count : average of the number of genomic mappings for each spanning read
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
691 - num_multi_map : number of spanning reads that map to more than one genomic location
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
692 - span_count : number of spanning reads supporting the fusion
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
693 - span_coverage1 : coverage of spanning reads aligned to gene 1 as a proportion of expected coverage
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
694 - span_coverage2 : coverage of spanning reads aligned to gene 2 as a proportion of expected coverage
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
695 - span_coverage_min : minimum of span_coverage1 and span_coverage2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
696 - span_coverage_max : maximum of span_coverage1 and span_coverage2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
697 - splitr_count : number of split reads supporting the prediction
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
698 - splitr_min_pvalue : p-value, lower values are evidence the prediction is a false positive
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
699 - splitr_pos_pvalue : p-value, lower values are evidence the prediction is a false positive
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
700 - splitr_sequence : fusion sequence predicted by split reads
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
701 - splitr_span_pvalue : p-value, lower values are evidence the prediction is a false positive
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
702 - **Annotation**
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
703 - adjacent : fusion between adjacent genes
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
704 - altsplice : fusion likely the product of alternative splicing between adjacent genes
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
705 - break_adj_entropy1 : di-nucleotide entropy of the 40 nucleotides adjacent to the fusion splice in gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
706 - break_adj_entropy2 : di-nucleotide entropy of the 40 nucleotides adjacent to the fusion splice in gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
707 - break_adj_entropy_min : minimum of break_adj_entropy1 and break_adj_entropy2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
708 - breakpoint_homology : number of nucleotides at the fusion splice that align equally well to gene 1 or gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
709 - breakseqs_estislands_percident : maximum percent identity of fusion sequence alignments to est islands
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
710 - cdna_breakseqs_percident : maximum percent identity of fusion sequence alignments to cdna
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
711 - deletion : fusion produced by a genomic deletion
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
712 - est_breakseqs_percident : maximum percent identity of fusion sequence alignments to est
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
713 - eversion : fusion produced by a genomic eversion
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
714 - exonboundaries : fusion splice at exon boundaries
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
715 - expression1 : expression of gene 1 as number of concordant pairs aligned to exons
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
716 - expression2 : expression of gene 2 as number of concordant pairs aligned to exons
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
717 - gene_chromosome1 : chromosome of gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
718 - gene_chromosome2 : chromosome of gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
719 - gene_end1 : end position for gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
720 - gene_end2 : end position for gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
721 - gene_location1 : location of breakpoint in gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
722 - gene_location2 : location of breakpoint in gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
723 - gene_start1 : start of gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
724 - gene_start2 : start of gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
725 - gene_strand1 : strand of gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
726 - gene_strand2 : strand of gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
727 - genome_breakseqs_percident : maximum percent identity of fusion sequence alignments to genome
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
728 - genomic_break_pos1 : genomic position in gene 1 of fusion splice / breakpoint
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
729 - genomic_break_pos2 : genomic position in gene 2 of fusion splice / breakpoint
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
730 - genomic_strand1 : genomic strand in gene 1 of fusion splice / breakpoint, retained sequence upstream on this strand, breakpoint is downstream
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
731 - genomic_strand2 : genomic strand in gene 2 of fusion splice / breakpoint, retained sequence upstream on this strand, breakpoint is downstream
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
732 - interchromosomal : fusion produced by an interchromosomal translocation
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
733 - interrupted_index1 : ratio of coverage before and after the fusion splice / breakpoint in gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
734 - interrupted_index2 : ratio of coverage before and after the fusion splice / breakpoint in gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
735 - inversion : fusion produced by genomic inversion
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
736 - orf : fusion combines genes in a way that preserves a reading frame
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
737 - probability : probability produced by classification using adaboost and example positives/negatives (only given in results.classified.txt)
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
738 - read_through : fusion involving adjacent potentially resulting from co-transcription rather than genome rearrangement
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
739 - repeat_proportion1 : proportion of the spanning reads in gene 1 that span a repeat region
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
740 - repeat_proportion2 : proportion of the spanning reads in gene 2 that span a repeat region
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
741 - max_repeat_proportion : max of repeat_proportion1 and repeat_proportion2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
742 - splice_score : number of nucleotides similar to GTAG at fusion splice
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
743 - num_splice_variants : number of potential splice variants for this gene pair
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
744 - splicing_index1 : number of concordant pairs in gene 1 spanning the fusion splice / breakpoint, divided by number of spanning reads supporting the fusion with gene 2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
745 - splicing_index2 : number of concordant pairs in gene 2 spanning the fusion splice / breakpoint, divided by number of spanning reads supporting the fusion with gene 1
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
746
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
747
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
748 **Example**
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
749
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
750 results.tsv::
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
751
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
752 cluster_id splitr_sequence splitr_count splitr_span_pvalue splitr_pos_pvalue splitr_min_pvalue adjacent altsplice break_adj_entropy1 break_adj_entropy2 break_adj_entropy_min break_predict breakpoint_homology breakseqs_estislands_percident cdna_breakseqs_percident concordant_ratio deletion est_breakseqs_percident eversion exonboundaries expression1 expression2 gene1 gene2 gene_align_strand1 gene_align_strand2 gene_chromosome1 gene_chromosome2 gene_end1 gene_end2 gene_location1 gene_location2 gene_name1 gene_name2 gene_start1 gene_start2 gene_strand1 gene_strand2 genome_breakseqs_percident genomic_break_pos1 genomic_break_pos2 genomic_strand1 genomic_strand2 interchromosomal interrupted_index1 interrupted_index2 inversion library_name max_map_count max_repeat_proportion mean_map_count min_map_count num_multi_map num_splice_variants orf read_through repeat_proportion1 repeat_proportion2 span_count span_coverage1 span_coverage2 span_coverage_max span_coverage_min splice_score splicing_index1 splicing_index2
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
753 1169 GCTTACTGTATGCCAGGCCCCAGAGGGGCAACCACCCTCTAAAGAGAGCGGCTCCTGCCTCCCAGAAAGCTCACAGACTGTGGGAGGGAAACAGGCAGCAGGTGAAGATGCCAAATGCCAGGATATCTGCCCTGTCCTTGCTTGATGCAGCTGCTGGCTCCCACGTTCTCCCCAGAATCCCCTCACACTCCTGCTGTTTTCTCTGCAGGTTGGCAGAGCCCCATGAGGGCAGGGCAGCCACTTTGTTCTTGGGCGGCAAACCTCCCTGGGCGGCACGGAAACCACGGTGAGAAGGGGGCAGGTCGGGCACGTGCAGGGACCACGCTGCAGG|TGTACCCAACAGCTCCGAAGAGACAGCGACCATCGAGAACGGGCCATGATGACGATGGCGGTTTTGTCGAAAAGAAAAGGGGGAAATGTGGGGAAAAGCAAGAGAGATCAGATTGTTACTGTGTCTGTGTAGAAAGAAGTAGACATGGGAGACTCCATTTTGTTCTGTACTAAGAAAAATTCTTCTGCCTTGAGATTCGGTGACCCCACCCCCAACCCCGTGCTCTCTGAAACATGTGCTGTGTCCACTCAGGGTTGAATGGATTAAGGGCGGTGCGAGACGTGCTTT 2 0.000436307890680442 0.110748295953850 0.0880671602973091 N Y 3.19872427442695 3.48337348351473 3.19872427442695 splitr 0 0 0 0 Y 0 N N 0 0 ENSG00000105549 ENSG00000213753 + - 19 19 376013 59111168 intron upstream THEG AC016629.2 361750 59084870 - + 0 375099 386594 + - N 8.34107429512245 - N output_dir 82 0.677852348993289 40.6666666666667 1 11 1 N N 0.361271676300578 0.677852348993289 12 0.758602776578432 0.569678713445872 0.758602776578432 0.569678713445872 2 0.416666666666667 -
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
754 3596 TGGGGGTTGAGGCTTCTGTTCCCAGGTTCCATGACCTCAGAGGTGGCTGGTGAGGTTATGACCTTTGCCCTCCAGCCCTGGCTTAAAACCTCAGCCCTAGGACCTGGTTAAAGGAAGGGGAGATGGAGCTTTGCCCCGACCCCCCCCCGTTCCCCTCACCTGTCAGCCCGAGCTGGGCCAGGGCCCCTAGGTGGGGAACTGGGCCGGGGGGCGGGCACAAGCGGAGGTGGTGCCCCCAAAAGGGCTCCCGGTGGGGTCTTGCTGAGAAGGTGAGGGGTTCCCGGGGCCGCAGCAGGTGGTGGTGGAGGAGCCAAGCGGCTGTAGAGCAAGGGGTGAGCAGGTTCCAGACCGTAGAGGCGGGCAGCGGCCACGGCCCCGGGTCCAGTTAGCTCCTCACCCGCCTCATAGAAGCGGGGTGGCCTTGCCAGGCGTGGGGGTGCTGCC|TTCCTTGGATGTGGTAGCCGTTTCTCAGGCTCCCTCTCCGGAATCGAACCCTGATTCCCCGTCACCCGTGGTCACCATGGTAGGCACGGCGACTACCATCGAAAGTTGATAGGGCAGACGTTCGAATGGGTCGTCGCCGCCACGGGGGGCGTGCGATCAGCCCGAGGTTATCTAGAGTCACCAAAGCCGCCGGCGCCCGCCCCCCGGCCGGGGCCGGAGAGGGGCTGACCGGGTTGGTTTTGATCTGATAAATGCACGCATCCCCCCCGCGAAGGGGGTCAGCGCCCGTCGGCATGTATTAGCTCTAGAATTACCACAGTTATCCAAGTAGGAGAGGAGCGAGCGACCAAAGGAACCATAACTGATTTAATGAGCCATTCGCAGTTTCACTGTACCGGCCGTGCGTACTTAGACATGCATGGCTTAATCTTTGAGACAAGCATATGCTACTGGCAGG 250 7.00711162298275e-72 0.00912124762512338 0.00684237452309549 N N 3.31745197152461 3.47233119514066 3.31745197152461 splitr 7 0.0157657657657656 0 0 N 0.0135135135135136 N N 0 0 ENSG00000156860 ENSG00000212932 - + 16 21 30682131 48111157 coding upstream FBRS RPL23AP4 30670289 48110676 + + 0.0157657657657656 30680678 9827473 - + Y - - N output_dir 2 1 1.11111111111111 1 1 1 N N 0 1 9 0.325530693397641 0.296465452915709 0.325530693397641 0.296465452915709 2 - -
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
755
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
756 </help>
36306d8086fa Remove defuse dir
Jim Johnson <jj@umn.edu>
parents:
diff changeset
757 </tool>