spack/var/spack/repos/builtin/packages/reditools/REDItoolDenovo.py.patch
Glenn Johnson 1a11449c86
New package - REDItools (#17703)
* New package - REDItools

This PR adds the REDItools package, along with a new package dependency,
py-fisher. This contains a patch generated from the python 2to3 script
as well as some other fixes. I am not sure if the project is ready to
support python-3 yet but I submitted the other patches upstream.

* Update var/spack/repos/builtin/packages/reditools/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-08-07 14:40:52 -05:00

12 lines
422 B
Diff

--- a/main/REDItoolDenovo.py 2020-07-16 17:35:46.008030346 -0500
+++ b/main/REDItoolDenovo.py 2020-07-16 17:38:39.700035490 -0500
@@ -768,7 +768,7 @@
for j in ridxinfo.split('\n'): #MOD
l=(j.strip()).split('\t')
if l[0] in ['*', '']: continue #MOD
- if int(l[2])+int(l[3]) > 0: rrefs[l[0]]=int(l[1])
+ if int(l[2])+int(l[3]) > 0: rrefs[l[0]]=int(l[1])
frefs=[]
fidxinfo=open(fastafile+'.fai')
for j in fidxinfo: