Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The application does not seem to support small-range searches #86

Closed
jimmyhli opened this issue Oct 14, 2020 · 0 comments
Closed

The application does not seem to support small-range searches #86

jimmyhli opened this issue Oct 14, 2020 · 0 comments

Comments

@jimmyhli
Copy link

http://abc.ca:3333/htsget/v1/reads?id=abc.bam&format=BAM&reference_name=21&start=14099895&end=14168318

The request only yields the following response, which spans across the entire chromosome "http://abc.ca:3333/htsget/v1/data?id=abc.bam&reference_name=21"

While a bigger range request

http://abc.ca:3333/htsget/v1/reads?id=abc&reference_name=21&start=0&end=10000000

yields

{
  "htsget": {
    "format": "BAM",
    "urls": [
      {
        "url": "http://abc.ca:3333/htsget/v1/data?id=abc&reference_name=21&start=0&end=10000000"
      },
      {
        "url": "http://abc.ca:3333/htsget/v1/data?id=abc&reference_name=21&start=10000000&end=10000000"
      }
    ]
  }
}

The second url does not seem to be needed, but at least it includes the start and end in its response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant