Skip to content

Commit

Permalink
added overhangs list in sequence cutting report
Browse files Browse the repository at this point in the history
  • Loading branch information
Zulko committed Jan 14, 2019
1 parent 9c81cf9 commit bfeaa04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ python:
install:
- sudo apt-get -qq update
- sudo apt-get install python-dev swig libxml2-dev zlib1g-dev libgmp-dev
- pip install pytest coveralls pytest-cov
- pip install pytest coveralls pytest-cov==2.6
- pip install -e .
# command to run tests
script:
Expand Down
4 changes: 4 additions & 0 deletions goldenhinges/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,8 @@ def write_report_for_cutting_solution(solution, target, sequence,
sequences.append(";".join([seqname, str(seqrecord.seq)]))
root._file("fragments_sequences.csv").write("\n".join(sequences))

root._file('overhangs_list.csv').write(", ".join([
o['sequence'] for o in solution
]))

return root._close()

0 comments on commit bfeaa04

Please sign in to comment.