# HG changeset patch # User Jim Johnson # Date 1357591946 21600 # Node ID 1ea6445491d48a9ed0e005f75c8d2c66e4cb82df # Parent 6e30713cefb051a979fc44376358b2da4bbb90be Update to deFuse version 0.6.0 diff -r 6e30713cefb0 -r 1ea6445491d4 README --- a/README Mon Jan 07 14:49:50 2013 -0600 +++ b/README Mon Jan 07 14:52:26 2013 -0600 @@ -1,18 +1,18 @@ -The DeFuse galaxy tool is based on DeFuse_Version_0.5.0 +The DeFuse galaxy tool is based on DeFuse_Version_0.6.0 http://sourceforge.net/apps/mediawiki/defuse/index.php?title=Main_Page 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. Manual: -http://sourceforge.net/apps/mediawiki/defuse/index.php?title=DeFuse_Version_0.4.2 +http://sourceforge.net/apps/mediawiki/defuse/index.php?title=DeFuse_Version_0.6.0 The included tool_dependencies.xml will download and install the defuse code. It will set the environment variable: "DEFUSE_PATH" to the location of the defuse install. The tool_dependencies.xml also has the download for bowtie. -The defuse.pl command relies on a configuration file to specifiy options, the location of reference data, and other applications that it depends upon: bowtie, bowtie-build, samtools, blat, fatotwobit, R, and Rscript. +The defuse.pl command relies on a configuration file to specifiy options, the location of reference data, and other applications that it depends upon: bowtie, bowtie-build, samtools, gmap, blat, fatotwobit, R, and Rscript. The DeFuse galaxy tool can either construct the config.txt file that is mentioned in the defuse manual, or select an existing config.txt file in the users history. When constructing the config.txt file, the DeFuse tool uses the values selected in: tool-data/defuse.loc @@ -27,25 +27,31 @@ Generate Reference Datasets as described in the Manual: -The manual has detailed instructions on how to set up reference datasets for Human hg19 and hg18. -We were able to follow the same basic procedures to set up a reference for Mouse mm9. +Reference Dataset +The reference dataset setup process has been simplified as of deFuse 0.6.0, and deFuse now automatically downloads all required files. +The create_reference_dataset.pl script will download the genome and other source files, and build any derivative files including bowtie indices, gmap indices, and 2bit files. Run the following command. Expect this step to take at least 12 hours. +create_reference_dataset.pl -c config.txt These datasets should be referenced in the tool-data/defuse.loc file. -External Tools +External Tools ( http://sourceforge.net/apps/mediawiki/defuse/index.php?title=DeFuse_Version_0.6.0 ) deFuse relies on other publically available tools as part of its pipeline. Some of these tools are not included with the deFuse download. Obtain these tools as detailed below. -Download bowtie: +Download samtools +The latest version of samtools can be downloaded from sourceforge: https://sourceforge.net/projects/samtools/files/samtools. +Set the samtools_bin entry in config.txt to the fully qualified paths of the samtools binary. +Download bowtie The latest version of bowtie can be downloaded from sourceforge: http://sourceforge.net/projects/bowtie-bio/files/bowtie/. deFuse has been tested on version 0.12.5. Set the bowtie_bin and bowtie_build_bin entries in config.txt to the fully qualified paths of the bowtie and bowtie-build binaries. Download blat and faToTwoBit The latest blat tool suite can be downloaded from the ucsc website: http://hgdownload.cse.ucsc.edu/admin/exe/. Download blat and faToTwoBit and set the blat_bin and fatotwobit_bin entries in config.txt to the fully qualified paths of the blat and faToTwoBit binaries. +Download GMAP +The latest version of GMAP can be downloaded here http://research-pub.gene.com/gmap/. Build with a default configuration. Do not worry about the `--with-gmapdb` build flag, deFuse will request a specific directory for the database anyway. Download R The latest version of R can be downloaded from the R project website: http://www.r-project.org/. Install R and then locate the R and Rscript executables, and set the r_bin and rscript_bin entries in config.txt to the path of those executables. -Install the kernlab package. Run R, then at the prompt type install.packages("kernlab") -Creating required derivative files -Once the required files and tools have been downloaded, the create_reference_dataset.pl script will build any derivative files including bowtie indices and 2bit files. Run the following command. Expect this step to take at least 12 hours. +Install the ada package. Run R, then at the prompt type install.packages("ada") +Reference Dataset +The reference dataset setup process has been simplified as of deFuse 0.6.0, and deFuse now automatically downloads all required files. +The create_reference_dataset.pl script will download the genome and other source files, and build any derivative files including bowtie indices, gmap indices, and 2bit files. Run the following command. Expect this step to take at least 12 hours. create_reference_dataset.pl -c config.txt - - diff -r 6e30713cefb0 -r 1ea6445491d4 defuse.xml --- a/defuse.xml Mon Jan 07 14:49:50 2013 -0600 +++ b/defuse.xml Mon Jan 07 14:52:26 2013 -0600 @@ -1,8 +1,10 @@ - + identify fusion transcripts - defuse + defuse + samtools bowtie + gmap blat fatotwobit diff -r 6e30713cefb0 -r 1ea6445491d4 tool_dependencies.xml --- a/tool_dependencies.xml Mon Jan 07 14:49:50 2013 -0600 +++ b/tool_dependencies.xml Mon Jan 07 14:52:26 2013 -0600 @@ -1,9 +1,9 @@ - + - http://sourceforge.net/projects/defuse/files/defuse/0.5/defuse-0.5.0.tar.gz + http://sourceforge.net/projects/defuse/files/defuse/0.6/defuse-0.6.0.tar.gz cd tools && make . @@ -15,9 +15,36 @@ +deFuse code +To build the deFuse toolset you must have the boost c++ development libraries installed. If they are not installed on your system you can download them from the boost website. A full install of boost is not required. The easiest thing to do is to download the latest boost source tar.gz, extract it, then add the extracted path to the CPLUS_INCLUDE_PATH environment variable (in bash, `export CPLUS_INCLUDE_PATH=/boost/directory/:$CPLUS_INCLUDE_PATH`) + + + + http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2 + sed -i.bak -e 's/-lcurses/-lncurses/g' Makefile + make + + samtools + $INSTALL_DIR/bin + + + misc/maq2sam-long + $INSTALL_DIR/bin + + + $INSTALL_DIR/bin + + + + +Compiling SAMtools requires the ncurses and zlib development libraries. + + + + @@ -45,6 +72,65 @@ + + + + http://research-pub.gene.com/gmap/src/gmap-gsnap-2012-07-20.v2.tar.gz + ./configure + make + + src/gmap + $INSTALL_DIR/bin + + + src/gmapindex + $INSTALL_DIR/bin + + + src/gsnap + $INSTALL_DIR/bin + + + src/uniqscan + $INSTALL_DIR/bin + + + src/iit_store + $INSTALL_DIR/bin + + + src/iit_get + $INSTALL_DIR/bin + + + src/atoiindex + $INSTALL_DIR/bin + + + src/snpindex + $INSTALL_DIR/bin + + + src/cmetindex + $INSTALL_DIR/bin + + + src/get-genome + $INSTALL_DIR/bin + + + util + $INSTALL_DIR/bin + + + $INSTALL_DIR/bin + + + + + + +