mengyao / Complete-Striped-Smith-Waterman-Library

298 stars 113 forks source link

`sTarget` undefined in pyssw.py #45

Closed paultsw closed 7 years ago

paultsw commented 7 years ago

The variable "sTarget" in the file pyssw.py (line 245) appears only once and is undefined, causing an error if the python interface is used to generate a SAM file with a header, e.g.

python pyssw.py -s -c -header $REF $READ > $OUTPATH

I think it should be replaced with args.target, if I'm not mistaken?

paultsw commented 7 years ago

Seems like it was fixed in this commit:

https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library/commit/96cae4ef5188001b6a8364a5466c4633983bae6c

Closing this issue.