-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update list of available samples from filtered query result
part of #484. manage-genotype.js : samples() : if .filterSamplesByHaplotype, return this.sampleCache.filteredByGenotype[this.lookupDatasetId] i.e. the dataset samples filtered by the most recent selected SNPs + genotype, i.e. allele / haplotype. Add dependencies for that value. vcfGenotypeSamplesDataset() : if ! urlOptions.filterSelectedSamples, don't filter the selected samples. Update .sampleCache.filteredByGenotype{,Count}. vcf-genotype.js : (sampleCache) : add filteredByGenotype{,Count} : caches the result of vcfGenotypeSamplesDataset() when filterByHaplotype. -Count is an efficient update dependency. vcfGenotypeLookup.bash : bcftoolsCommand() : grep returns status 1 if there are no matches. Ignore that and return 0 (true). Also match end-of-line; matching either eol or tab is sufficient.
- Loading branch information
1 parent
46c97c3
commit 61c2af0
Showing
3 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters