Describe the bugGen_seq generates incorrect edges when pairs are present. As gen_seq uses the legacy polyply_parser module to read_itp files it creates edges between residue for example for pair entries. This in turn leads to the sequence graph having many more edges than expected which messes with the actual polyply output.
Command line arguments
Provide all polyply calls and arguments needed to reproduce the issue:
polyply gen_seq -f test.itp -from_file A:test -seq A -o test.json
Expected behavior
Given the test itp below one would expect a liner graph with edges between residues 1-2-3-4-5. But instead one gets a graph with edges between residues [1-2, 1-3, 2-3, 2-4, 3-4, 3-4, 4-5]
Describe the bug
Gen_seq
generates incorrect edges when pairs are present. Asgen_seq
uses the legacypolyply_parser
module to read_itp files it creates edges between residue for example for pair entries. This in turn leads to the sequence graph having many more edges than expected which messes with the actual polyply output.Command line arguments Provide all polyply calls and arguments needed to reproduce the issue:
Expected behavior Given the test itp below one would expect a liner graph with edges between residues 1-2-3-4-5. But instead one gets a graph with edges between residues [1-2, 1-3, 2-3, 2-4, 3-4, 3-4, 4-5]
Additional Files