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

score-client fails with view command #137

Closed
junjun-zhang opened this issue Jan 29, 2019 · 0 comments
Closed

score-client fails with view command #137

junjun-zhang opened this issue Jan 29, 2019 · 0 comments
Assignees
Labels
bug Something isn't working SP:5

Comments

@junjun-zhang
Copy link

Observed behaviour

Object 1: aligned BAM

The follow view command failed with ERROR: Command error: Cannot query stream-based BAM file

score-client --profile collab view --object-id d98a83e3-1f79-5213-949d-cb79894cb775

But after downloading the object to local, view using samtools works well

samtools view PCAWG.833cdc6c-dd38-11e4-8ffa-a3b5c254ba06.TopHat2.v1.bam | less

Object 2: unaligned BAM

This failed with ERROR: Bad parameter(s): No index file associated with BAM/CRAM file with object id '2e159ade-b18d-5d1a-99cc-9239883e6d1e'

score-client --profile collab view --header-only --object-id 2e159ade-b18d-5d1a-99cc-9239883e6d1e

But samtools view works fine after downloading it.

samtools view -H cf3033d4c0c1388ea3ef4545ad6c1bf0.Sample_00230111_2.bam

Expected behaviour

score-client view command (with or without --header-only option) should work on both aligned and unaligned BAM objects. Slicing BAM using query option like --query 1:1245-1425 will require to have associated BAI index object exist.

@Fgerthoffert Fgerthoffert added bug Something isn't working next labels Jan 29, 2019
@Fgerthoffert Fgerthoffert added this to the ARGO - Sprint 1903 milestone Jan 29, 2019
@Fgerthoffert Fgerthoffert added Priority: High SP:3 Issue is estimated at 3 story points SP:5 and removed SP:3 Issue is estimated at 3 story points labels Jan 29, 2019
@rtisma rtisma added in progress and removed next labels Feb 4, 2019
@Fgerthoffert Fgerthoffert modified the milestones: ARGO - Sprint 1903, ARGO - Sprint 1904 Feb 7, 2019
@rtisma rtisma closed this as completed Feb 8, 2019
@rtisma rtisma removed the in progress label Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SP:5
Projects
None yet
Development

No branches or pull requests

3 participants