# HG changeset patch
# User gkumar09
# Date 1443492190 14400
# Node ID 9be8023b486a281dc5acb12575e21441685e5fa1
# Parent 0845cefc6cfe0b1f592a438e1d894270d750ace0
Deleted selected files
diff -r 0845cefc6cfe -r 9be8023b486a Final/EdgeR_differentialExpression.xml
--- a/Final/EdgeR_differentialExpression.xml Mon Sep 28 22:02:36 2015 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-
-
- Identify Differentially Expressed Transcripts Using EdgeR
-
- trinity
-
-
-
- EdgeR_differentialExpression_wrapper.py
- $counts_matrix
- $dispersion
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- help info here.
-
-
diff -r 0845cefc6cfe -r 9be8023b486a Final/EdgeR_differentialExpression_wrapper.py
--- a/Final/EdgeR_differentialExpression_wrapper.py Mon Sep 28 22:02:36 2015 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-import sys, os, subprocess
-
-TRINITY_BASE_DIR = ""
-if os.environ.has_key('TRINITY_HOME'):
- TRINITY_BASE_DIR = os.environ['TRINITY_HOME'];
-else:
- sys.stderr.write("You must set the environmental variable TRINITY_BASE_DIR to the base installation directory of Trinity before running this");
- sys.exit(1)
-
-usage= "usage: " + " $counts_matrix" + " $dispersion"
-
-if len(sys.argv)<2:
- print "Require atleast two parameters"
-else:
- print "All good- command going ahead"
-print " "
-
-def run_command(cmd):
- print "The command used: " + cmd
- pipe=subprocess.Popen(cmd, shell=True, stderr=subprocess.PIPE)
- pipe.wait()
- ret= pipe.returncode
- if ret:
- print "command died: " + str(ret)
- print pipe.stderr.readlines()
- sys.exit(1)
- else:
- return
-print " "
-
-countmatrix= "counts_matrix"
-
-cmd= "cp " + sys.argv[1] + " " + countmatrix
-run_command(cmd)
-
-cmd= TRINITY_BASE_DIR + "/Analysis/DifferentialExpression/run_DE_analysis.pl "+ " --matrix "+ countmatrix + " --method edgeR " + " --output edgeR_results "+ " --dispersion " + sys.argv[2] + " --tar_gz_outdir"
-
-run_command(cmd)
-
-sys.exit(0)
diff -r 0845cefc6cfe -r 9be8023b486a Final/RSEM_estimates_to_matrix.xml
--- a/Final/RSEM_estimates_to_matrix.xml Mon Sep 28 22:02:36 2015 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-
-
- Join RSEM estimates from multiple samples into a single matrix
-
- trinity
-
-
-
- trinityToolWrapper.py util/RSEM_util/merge_RSEM_counts_and_labels_single_table.pl
-
- --labels
- #for $entry in $RSEM_samples:
- ${entry.column_label}
- #end for
-
- --RSEM_counts
- #for $entry in $RSEM_samples:
- ${entry.file}
- #end for
-
- > RSEM.counts.matrix
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- .. _Trinity: http://trinityrnaseq.sourceforge.net
-
-
diff -r 0845cefc6cfe -r 9be8023b486a Final/abundance_estimation_to_matrix.xml
--- a/Final/abundance_estimation_to_matrix.xml Mon Sep 28 22:02:36 2015 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-
-
- Join RSEM estimates from multiple samples into a single matrix
-
- trinity
-
-
-
- abundance_estimation_to_matrix_wrapper.py
- #for $q in $RSEM_samples
- ${q.file} "${q.column_label}"
- #end for
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- .. _Trinity: http://trinityrnaseq.sourceforge.net
-
-
diff -r 0845cefc6cfe -r 9be8023b486a Final/abundance_estimation_to_matrix_wrapper.py
--- a/Final/abundance_estimation_to_matrix_wrapper.py Mon Sep 28 22:02:36 2015 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-#!/usr/bin/env python
-
-import sys, os, string, subprocess
-
-#aliasing the filenames using the labels
-
-
-def run_command(command):
- print "Running command: " + command
-
- err_capture_file = open("my.stderr", 'w') # writing stderr to a file
- cmd_run = subprocess.Popen(args=command, shell=True, stderr=err_capture_file, stdout=sys.stdout)
- err = cmd_run.wait() # get exit code from command execution
- err_capture_file.close()
-
- if err:
- # report the error messages we captured, and exit non-zero
- sys.stderr.write("Error, cmd: " + command + " died with ret: " + `err`)
- for line in open(err_capture_file):
- sys.stderr.write(line)
- sys.exit(err)
- return
-
-label_list = [] # symlink files to the labels
-for i in range(1, len(sys.argv), 2):
- filename=sys.argv[i]
- label= sys.argv[i+1]
- cmd= "ln -sf " + filename + " " + label
- label_list.append(label)
- run_command(cmd)
-
-
-# run the abundance estimation script
-
-cmd = os.path.dirname(sys.argv[0]) + "/trinityToolWrapper.py " + " util/abundance_estimates_to_matrix.pl --est_method RSEM --cross_sample_fpkm_norm TMM " + " ".join(label_list)
-
-run_command(cmd)
-
-sys.exit(0)
-
diff -r 0845cefc6cfe -r 9be8023b486a Final/align_and_estimate_abundance.xml
--- a/Final/align_and_estimate_abundance.xml Mon Sep 28 22:02:36 2015 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-
-
- run RSEM to estimate transcript abundances
-
- trinity
-
-
-
- trinityToolWrapper.py util/align_and_estimate_abundance.pl --transcripts $transcripts --est_method RSEM --aln_method bowtie --trinity_mode --prep_reference
-
- ## Inputs.
- #if str($inputs.paired_or_single) == "paired":
- --left $inputs.left_input --right $inputs.right_input
- #if $inputs.left_input.ext == 'fa':
- --seqType fa
- #else:
- --seqType fq
- #end if
- #if str($inputs.library_type) != "None":
- --SS_lib_type $inputs.library_type
- #end if
-
- #else:
- --single $inputs.input
- #if str($inputs.input.ext) == 'fa':
- --seqType fa
- #else:
- --seqType fq
- #end if
- #if str($inputs.library_type) != "None":
- --SS_lib_type $inputs.library_type
- #end if
- #end if
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- .. _Trinity: http://trinityrnaseq.sourceforge.net
-
-