-
I am a developer adding the structural variant code to our fork of seqr and was confused by some of the behavior of the location filter when I was searching on some SVs. I was looking at the latest code and noticed 1 line in the location filter logic that I didn't understand and tracked it down to this original commit: 0d3572a, specifically this line:
This yields an Elasticsearch query that will return structural variants that have an If I search for something in 1:2000001234-2000005678, it could return hits that have xpos=12000001111 and xstop=2000007777. I also looked at the latest code, but this behavior seems to be intact, though I saw the corresponding tests in Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is desired behavior. If you are interested in a region of the genome, we assume you are interested in an SV that contains that interval. For example, if the interval you are searching is a single gene and there is a huge SV that spans many genes including the gene you searched, that SV should be returned |
Beta Was this translation helpful? Give feedback.
This is desired behavior. If you are interested in a region of the genome, we assume you are interested in an SV that contains that interval. For example, if the interval you are searching is a single gene and there is a huge SV that spans many genes including the gene you searched, that SV should be returned