# HG changeset patch
# User gkumar09
# Date 1449032264 18000
# Node ID 887986b43271ebddaf6636d493ec6ef4bbf28a10
Uploaded
diff -r 000000000000 -r 887986b43271 trinityctatfusion/.___add_to_PATH_setting.txt
Binary file trinityctatfusion/.___add_to_PATH_setting.txt has changed
diff -r 000000000000 -r 887986b43271 trinityctatfusion/__add_to_PATH_setting.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/__add_to_PATH_setting.txt Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,1 @@
+/usr/local/bin
diff -r 000000000000 -r 887986b43271 trinityctatfusion/discasm.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/discasm.xml Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,37 @@
+
+ DISCASM
+
+ sh discasm_fusion_toolshed_wrapper.sh
+ $bam
+ $chimeric
+ $left_input
+ $right_input
+ "subdir"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DISCASM Draft
+
+
diff -r 000000000000 -r 887986b43271 trinityctatfusion/discasm_fusion_toolshed_wrapper.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/discasm_fusion_toolshed_wrapper.sh Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,11 @@
+#!/bin/bash -l
+
+umask 0002
+
+bam=$1
+chimeric=$2
+LEFT_FQ=$3
+RIGHT_FQ=$4
+OUTPUTDIR=$5
+
+$DISCASM_DIR/DISCASM --aligned_bam $bam --chimeric_junctions $chimeric --left_fq $LEFT_FQ --right_fq $RIGHT_FQ --denovo_assembler OasesMultiK --out_dir $OUTPUTDIR
diff -r 000000000000 -r 887986b43271 trinityctatfusion/fusion_annotator.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/fusion_annotator.xml Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,27 @@
+
+ Fusion-Annotator
+
+ sh fusion_annotator_toolshed_wrapper.sh
+ $fusion_candidate
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ fusion annotator
+
+
diff -r 000000000000 -r 887986b43271 trinityctatfusion/fusion_annotator_toolshed_wrapper.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/fusion_annotator_toolshed_wrapper.sh Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,10 @@
+#!/bin/bash -l
+
+umask 0002
+
+. /broad/software/scripts/useuse
+
+fusion_file=$1
+
+$FUSION_ANNOTATOR/FusionAnnotator --fusion_annot_lib $FUSION_ANNOTATOR/Hg19_CTAT_fusion_annotator_lib --annotate $fusion_file >> annotation.txt
+
diff -r 000000000000 -r 887986b43271 trinityctatfusion/fusion_inspector_new.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/fusion_inspector_new.xml Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,70 @@
+
+ Fusion Inspector
+
+ sh fusion_inspector_toolshed_wrapper.sh
+ $fusion_candidates_list
+ $left_input
+ $right_input
+ "subdir"
+ $method
+ $trinity_status.trinity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ trinity_status['trinity'] == "true"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Fusion Inspector New
+
+
diff -r 000000000000 -r 887986b43271 trinityctatfusion/fusion_inspector_toolshed_wrapper.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/fusion_inspector_toolshed_wrapper.sh Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,28 @@
+#!/bin/bash -l
+
+umask 0002
+
+. /broad/software/scripts/useuse
+
+reuse .samtools-0.1.19
+
+fusions_list=$1
+LEFT_FQ=$2
+RIGHT_FQ=$3
+OUTPUTDIR=$4
+method=$5
+trinity=$6
+
+cmd="$FUSION_DIR/FusionInspector --fusions $fusions_list --genome_lib $CTAT_GENOME_LIB --left_fq $LEFT_FQ --right $RIGHT_FQ --out_dir $OUTPUTDIR --out_prefix "finspector" --prep_for_IGV --align_utils $method"
+
+trinity_f=" --include_Trinity"
+
+if [ $trinity = "true" ]
+then
+combined_cmd=$cmd$trinity_f
+$combined_cmd
+else
+$cmd
+fi
+
+##echo $bsub
diff -r 000000000000 -r 887986b43271 trinityctatfusion/gmap_fusion.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/gmap_fusion.xml Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,40 @@
+
+ GMAP-fusion
+
+ sh gmap_fusion_toolshed_wrapper.sh
+ $discasm_trans
+ $left_input
+ $right_input
+ "subdir"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GMAP-fusion
+
+
diff -r 000000000000 -r 887986b43271 trinityctatfusion/gmap_fusion_toolshed_wrapper.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/gmap_fusion_toolshed_wrapper.sh Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,10 @@
+#!/bin/bash -l
+
+umask 0002
+
+discasm_trans=$1
+LEFT_FQ=$2
+RIGHT_FQ=$3
+OUTPUTDIR=$4
+
+$GMAP_FUSION_DIR/GMAP-fusion -T $discasm_trans --left_fq $LEFT_FQ --right_fq $RIGHT_FQ --genome_lib_dir $CTAT_GENOME_LIB --output $OUTPUTDIR
diff -r 000000000000 -r 887986b43271 trinityctatfusion/star_fusion_new.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/star_fusion_new.xml Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,39 @@
+
+ Fusion-finding Pipeline using the STAR aligner
+
+ sh star_fusion_toolshed_wrapper.sh
+ $left_input
+ $right_input
+ "subdir"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ STAR-fusion New
+
+
diff -r 000000000000 -r 887986b43271 trinityctatfusion/star_fusion_toolshed_wrapper.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/trinityctatfusion/star_fusion_toolshed_wrapper.sh Tue Dec 01 23:57:44 2015 -0500
@@ -0,0 +1,12 @@
+#!/bin/bash -l
+
+umask 0002
+
+
+LEFT_FQ=$1
+RIGHT_FQ=$2
+OUTPUTDIR=$3
+
+GENOME_LIB=$CTAT_GENOME_LIB
+
+$STAR_FUSION_DIR/STAR-Fusion --genome_lib_dir $GENOME_LIB --left_fq $LEFT_FQ --right_fq $RIGHT_FQ --output_dir $OUTPUTDIR