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

use JBrowse BlobFilehandleWrapper (fixes controlled access BAM) #102

Merged
merged 2 commits into from
Sep 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions cypress/integration/ExploreGDC.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ describe('Explore GDC', function() {
})

checkAllResultsTab(
['Showing 1 to 20 of 3,111', 'TCGA-A5-A1OF', 'TCGA-AJ-A3EK'],
['Showing 1 to 20 of 21,169', 'TP53', 'TTN'],
['Showing 1 to 20 of 120,896', 'chr2:g.208248388C>T', 'chr17:g.7673803G>A']
['Showing 1 to 20 of 3,127', 'TCGA-A5-A1OF', 'TCGA-AJ-A3EK'],
['Showing 1 to 20 of 21,316', 'TTN', 'TP53'],
['Showing 1 to 20 of 132,784', 'chr7:g.140753336A>T', 'chr2:g.208248388C>T']
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened #103 to avoid stuff like this in the future

)

// Select is cancer gene census - 1
Expand All @@ -132,9 +132,9 @@ describe('Explore GDC', function() {
})

checkAllResultsTab(
['Showing 1 to 20 of 365', 'TCGA-A5-A1OF', 'TCGA-AJ-A3EK'],
['Showing 1 to 20 of 575', 'TP53', 'PIK3CA'],
['Showing 1 to 20 of 5,952', 'chr7:g.140753336A>T', 'chr2:g.208248388C>T']
['Showing 1 to 20 of 457', 'TCGA-A5-A1OF', 'TCGA-AJ-A3EK'],
['Showing 1 to 20 of 575', 'TP53', 'BRAF'],
['Showing 1 to 20 of 6,580', 'chr7:g.140753336A>T', 'chr2:g.208248388C>T']
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above comment

)

selectResultsTab(0)
Expand All @@ -155,4 +155,4 @@ describe('Explore GDC', function() {
cy.contains('GDC_SimpleSomaticMutations_TCGA-A5-A1OF')
cy.contains('GDC_CNVs_TCGA-A5-A1OF')
})
})
})
31 changes: 0 additions & 31 deletions gdc-viewer/js/Model/BlobFilehandleWrapper.js

This file was deleted.

2 changes: 1 addition & 1 deletion gdc-viewer/js/Store/SeqFeature/BAM.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { BamFile } = cjsRequire('@gmod/bam')

const bamIndexedFilesCache = new LRU({ maxSize: 5 })

const BlobFilehandleWrapper = cjsRequire('../../Model/BlobFilehandleWrapper')
const BlobFilehandleWrapper = cjsRequire('JBrowse/Model/BlobFilehandleWrapper')

class BamSlightlyLazyFeature {
_get_id() { this.record.id() }
Expand Down