Created
March 26, 2013 17:39
-
-
Save mjhsieh/5247446 to your computer and use it in GitHub Desktop.
A patch to LSC to make it compatible with python virtual_env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru tmp/LSC_0.2.2/bin/FASTA2fa.py LSC_0.2.2/bin/FASTA2fa.py | |
--- tmp/LSC_0.2.2/bin/FASTA2fa.py 2012-08-13 23:21:52.000000000 -0700 | |
+++ LSC_0.2.2/bin/FASTA2fa.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/RemoveBothTails.py LSC_0.2.2/bin/RemoveBothTails.py | |
--- tmp/LSC_0.2.2/bin/RemoveBothTails.py 2012-08-13 23:21:52.000000000 -0700 | |
+++ LSC_0.2.2/bin/RemoveBothTails.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/compressFASTA.py LSC_0.2.2/bin/compressFASTA.py | |
--- tmp/LSC_0.2.2/bin/compressFASTA.py 2012-08-13 23:21:52.000000000 -0700 | |
+++ LSC_0.2.2/bin/compressFASTA.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/convertNAV.py LSC_0.2.2/bin/convertNAV.py | |
--- tmp/LSC_0.2.2/bin/convertNAV.py 2012-08-13 23:24:44.000000000 -0700 | |
+++ LSC_0.2.2/bin/convertNAV.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/correct_nonredundant.py LSC_0.2.2/bin/correct_nonredundant.py | |
--- tmp/LSC_0.2.2/bin/correct_nonredundant.py 2012-08-13 23:24:28.000000000 -0700 | |
+++ LSC_0.2.2/bin/correct_nonredundant.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/merge_mapping_file.py LSC_0.2.2/bin/merge_mapping_file.py | |
--- tmp/LSC_0.2.2/bin/merge_mapping_file.py 2012-08-13 23:24:02.000000000 -0700 | |
+++ LSC_0.2.2/bin/merge_mapping_file.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/poolchr.py LSC_0.2.2/bin/poolchr.py | |
--- tmp/LSC_0.2.2/bin/poolchr.py 2012-08-13 23:21:52.000000000 -0700 | |
+++ LSC_0.2.2/bin/poolchr.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/runLSC.py LSC_0.2.2/bin/runLSC.py | |
--- tmp/LSC_0.2.2/bin/runLSC.py 2013-02-06 17:07:55.000000000 -0800 | |
+++ LSC_0.2.2/bin/runLSC.py 2013-03-25 14:03:58.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import struct | |
import os | |
@@ -15,8 +15,8 @@ | |
ls=pathfilename.split('/') | |
filename=ls[-1] | |
path='/'.join(ls[0:-1])+'/' | |
- if path == "/": | |
- path = "./" | |
+ if path == "/": | |
+ path = "./" | |
return path, filename | |
def Readcfgfile(cfg_filename): | |
diff -ru tmp/LSC_0.2.2/bin/uniqseq2fasta.py LSC_0.2.2/bin/uniqseq2fasta.py | |
--- tmp/LSC_0.2.2/bin/uniqseq2fasta.py 2012-08-13 23:21:52.000000000 -0700 | |
+++ LSC_0.2.2/bin/uniqseq2fasta.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import os | |
diff -ru tmp/LSC_0.2.2/bin/writetmp.py LSC_0.2.2/bin/writetmp.py | |
--- tmp/LSC_0.2.2/bin/writetmp.py 2012-08-13 23:23:40.000000000 -0700 | |
+++ LSC_0.2.2/bin/writetmp.py 2013-03-25 13:58:15.000000000 -0700 | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/python | |
+#!/usr/bin/env python | |
import sys | |
import datetime | |
import string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment