Closed NJPorter closed 3 years ago
I think that once we update the indexing to match the variable region (which is now an input with commit 0ec8dee), it should make this just not ever be an issue, so that we don't have to tolerate negative values at all.
Okay, this should now be fixed in 9f0c59b. Negative values are still not tolerated as user inputs, but these indexing values are now specified relative to the end of the forward primer/beginning of the variable region, so I don't currently expect users to need to have negative values.
Negative values are actually totally fine as far as the code goes, so if this is ever still a problem we can just remove the error and allow negative values. But for now I think that situation is outside the use cases for evSeq...
Closing for now.
When trying to analyze a tile in which the variable fragment starts immediately after the start ATG, a problem arises because the "AaIndStart" field of the RefSeqs.csv file cannot tolerate a negative value to allow amino acid indexing to match up with the annotated sequence.