diff --git a/client/termsetting/handlers/snplst.ts b/client/termsetting/handlers/snplst.ts index 805dd431a8..4870b97da9 100755 --- a/client/termsetting/handlers/snplst.ts +++ b/client/termsetting/handlers/snplst.ts @@ -198,7 +198,7 @@ async function makeEditMenu(self: SnpsTermSettingInstance, div0: any) { validateBtn.text('Validate variants').property('disabled', false) }) - const snplstTableDiv = editUIholder.append('div').style('margin-bottom', '20px') + const snplstTableDiv = editUIholder.append('div').style('margin-bottom', '25px') const [input_AFcutoff, select_alleleType, select_geneticModel, select_missingGenotype] = makeSnpSelect( editUIholder.append('div'), self, @@ -291,9 +291,7 @@ function initSnpEditTable(div: any, self: SnpsTermSettingInstance, select_allele .append('p') .style('opacity', 0.8) .style('font-size', '.8em') - .html( - '* Number of samples with at least one valid genotype.
**Effect alleles are highlighted in red. Click on an allele to set as the effect allele.' - ) + .html('Effect alleles are highlighted in red. Click on an allele to set as the effect allele.') } function renderSnpEditTable(self: SnpsTermSettingInstance, select_alleleType: any) { @@ -302,9 +300,9 @@ function renderSnpEditTable(self: SnpsTermSettingInstance, select_alleleType: an const title_tr = self.dom.snplst_table.append('tr').style('opacity', 0.4) const col_titles = [ { title: 'Variants' }, - { title: 'No. samples*' }, - { title: 'Reference allele**
(frequency)' }, - { title: 'Alternative allele(s)**
(frequency)' }, + { title: '# genotyped
samples' }, + { title: 'Reference allele
(frequency)' }, + { title: 'Alternative allele(s)
(frequency)' }, { title: 'Genotype
(frequency)' }, { title: 'Delete' } ] diff --git a/server/src/termdb.snp.js b/server/src/termdb.snp.js index 0c4581332f..842d1c1099 100644 --- a/server/src/termdb.snp.js +++ b/server/src/termdb.snp.js @@ -34,7 +34,7 @@ validateInputCreateCache_by_coord const bcfformat_snplst = '%CHROM\t%POS\t%REF\t%ALT[\t%TGT]\n' const bcfformat_snplocus = '%POS\t%ID\t%REF\t%ALT\t%INFO[\t%TGT]\n' -const missing_gt = '.' +const missing_gt = './.' const snplocusMaxVariantCount = 1000 export async function validate(q, tdb, ds, genome) {