Merge pull request #2196 from RosettaCommons/vmullig/gabe_science
Add a filter to compute the longest continuous stretch of polar residues in a pose or selection
Requested by @grocklin .
Tasks:
- [x] Add the filter from code templates.
- [x] Write parse_my_tag:
- [x] Option to exclude terminal stretches.
- [x] Filter high or low.
- [x] Cutoff.
- [x] Optional residue selector.
- [x] Write XSD function.
- [x] Write apply function.
- [x] Add ResidueSelector support.
- [x] Add option to treat glycine as a polar residue.
- [x] Unit tests:
- [x] Counting in a pose.
- [x] Excluding termini.
- [x] Counting in a selected region.
- [x] All of the above with multiple chains.
- [x] Integration test.
- [x] Documentation.
- [x] Beauty.