I debated whether to submit this to the “bug” or “wish” forum.
Consider the following toy example alignment:
>test1
.....NGAATTCTTTTTTTT.....
>test2
.....-GAATTC--------.....
Consider the output of the following two commands:
screen.seqs(fasta=test.align,maxambig=0,start=6,end=20)
and
screen.seqs(fasta=test.align,start=6,end=20)
In the first run, the first sequence is ejected, presumably because of the single ambiguity. In the second run, it survives.
BUT.
The ambiguity is outside the core region of alignment and therefore not something I care about. I want to keep this sequence “in play.” I would like to see the screen.seqs command process the start and end options before the ambiguities, homopolymers or whathaveyou. Does this make sense? I appreciate that you can run the command multiple times and set whatever precedence you desire, but that’s a kludge, and the current order of precedence doesn’t match my intuition.
Robin