timreid / needlemanWunsch

a python implementation of the needleman wunsch sequence alignment algorithm
0 stars 0 forks source link

Ask question #1

Open Anweizhen opened 6 years ago

Anweizhen commented 6 years ago

Sorry to interrupt. Thabks for your sharing. I run your the alignment algorithm, but it shows the error that alignment_result = needleman_wunsch(sys.argv[1], sys.argv[2], sys.argv[3], int(sys.argv[4]), int(sys.argv[5])) IndexError: list index out of range. Do you know why it hapeens?

timreid commented 6 years ago

are you using using the parameters as follows: sequence_a sequence_b match_score mismatch_score gap_score

if your problem persists, give me a little bit more context of how you are using the code, i will do whatever i can to help.