mengyao / Complete-Striped-Smith-Waterman-Library

298 stars 113 forks source link

What is dRc in pyssw.py? #79

Closed kojix2 closed 2 years ago

kojix2 commented 3 years ago

Hello, SSW Library developers.

I'm working on ruby-libssw. I looked at the pyssw code, and I found dRc.

https://github.com/mengyao/Complete-Striped-Smith-Waterman-Library/blob/ad452ea8b3fff0d8abe085d2ccb20e866260721c/src/pyssw.py#L203

If dRc means the reverse complement, then it should look like this, I think.

dRc = {'A':'T', 'C':'G', 'G':'C', 'T':'A', 'a':'T', 'c':'G', 'g':'C', 't':'A'}  

What does dRc mean?

I am a complete beginner and may have misunderstood. Please help me out. Thank you.

kojix2 commented 3 years ago

This is a typo. A pull request had already been created. (#64)