elkebir-group / derna

RNA sequence design for a target protein sequence
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

bug: cannot pass codon tables #2

Closed h-ahl closed 1 week ago

h-ahl commented 2 months ago

Hi! I'm trying to pass a codon table, but am getting issues like below:

╰─± ./build/derna -i data/input.fasta -o data/output.txt -c /home/hahl/derna/data/InputFiles/sample_codon_usage.csv -m 1 -s 2 -l 0.5
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stod
[1]    88748 IOT instruction (core dumped)  ./build/derna -i data/input.fasta -o data/output.txt -c  -m 1 -s 2 -l 0.5

As you can see, this happens for the sample table provided, which is meant to be the default values used as far as I'm aware. I'm attaching the input files below: inputs.zip

xinyu-g commented 1 week ago

Hi, my apologies again for the delayed response. Thank you for bringing the issue to our attention. The issue has been resolved in the latest release/commit of the repo.

xinyu-g commented 1 week ago

Closing the issue. Feel free to reopen or post another issue if needed.