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

Feature/upgrade frontend2 #413

Merged
merged 147 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
b650e2d
result of npx ember-cli-update --to 3.28
Don-Isdale Feb 8, 2024
67f6969
npm install updated package-lock.json from 12 to 16. resolved merge c…
Don-Isdale Feb 8, 2024
5e61df3
re-add env which was dropped in edit of merge conflict in 67f69694 en…
Don-Isdale Feb 8, 2024
84273e4
result of ember-cli-update --to 4, with merge conflicts resolved
Don-Isdale Feb 8, 2024
aebbd64
start of frontend upgrade to Ember4 and Bootstrap4
Don-Isdale Feb 16, 2024
8aab55d
Apply ember-no-implicit-this-codemod
Don-Isdale Feb 22, 2024
b7e2ae2
upgrading frontend : relationship options, d3 keys,values,nest, capit…
Don-Isdale Feb 26, 2024
cec261b
update frontend/package-lock.json
Don-Isdale Feb 26, 2024
8b4583c
bs tab fade=false. link-to route. etc
Don-Isdale Feb 29, 2024
3cac309
in progress : replacing sendAction() with closure actions and direct …
Don-Isdale Mar 6, 2024
004fabf
use native input in place of classic component
Don-Isdale Mar 11, 2024
099b2a6
update frontend/package-lock.json
Don-Isdale Mar 12, 2024
769d182
re-connect Zoom button to domain change
Don-Isdale Mar 12, 2024
dd69ea1
reduce rendering from mousewheel zoom and pan
Don-Isdale Mar 13, 2024
8c8d63c
update axis drag, feature search results display
Don-Isdale Mar 14, 2024
0643860
update remaining textareas
Don-Isdale Mar 15, 2024
4edfb9b
update remaining d3 .on functions
Don-Isdale Mar 15, 2024
d802eb1
updates for transitions, db edits and refreshes in groups pages
Don-Isdale Mar 22, 2024
d2192e4
in Dockerfile update node version 12 to 18 and remove bower
Don-Isdale Mar 25, 2024
deca791
feature search : change use of d3 nest to group for display of featur…
Don-Isdale Mar 25, 2024
aa8a3ce
update use of popover
Don-Isdale Mar 26, 2024
71f1041
update tab.pane and input parameters to restore layout in explore and…
Don-Isdale Mar 27, 2024
74ef7ee
pass closure action selectDataset down to entry-scope instead of usin…
Don-Isdale Mar 28, 2024
f75ba24
update from d3.nest to d3.group requires implies in key values
Don-Isdale Mar 28, 2024
4156b3b
manual update of package-lock.json ember-ajax 5.0.0 to 5.1.2
Don-Isdale Apr 2, 2024
52b413a
regenerated package-lock.json
Don-Isdale Apr 2, 2024
8dac400
changes to connection of adapter current request with server
Don-Isdale Apr 4, 2024
857d5ca
select correct server for groups requests during connection to secondary
Don-Isdale Apr 4, 2024
a054db4
revert the change to glob in frontend/package-lock.json
Don-Isdale Apr 4, 2024
272e831
minor updates
Don-Isdale Apr 5, 2024
42582e6
Change remaining inputs with class form-control from class to angle b…
Don-Isdale Apr 5, 2024
2df6c90
Change Textarea param input to oninput.
Don-Isdale Apr 8, 2024
860b486
update params for FileDropzone
Don-Isdale Apr 8, 2024
23422c3
log undefined levelMeta
Don-Isdale Apr 9, 2024
2c76523
update file upload drag drop to work in Chrome also
Don-Isdale Apr 9, 2024
45f95fa
use closure action for onDelete; un-view before delete and refresh after
Don-Isdale Apr 11, 2024
a6c5ccc
replace remaining uses of sendAction
Don-Isdale Apr 11, 2024
23f53a4
merge into feature/upgradeFrontend from feature/ongoingGenotype
Don-Isdale Apr 12, 2024
6a1d068
move functions binEvenLengthRound and binBoundaries to npm package in…
Don-Isdale Apr 14, 2024
4bebd13
Add a design diagram showing the calls between function defined withi…
Don-Isdale Apr 15, 2024
8d1bb15
Split out VCF data functions from vcf-feature.js to new repo vcf-geno…
Don-Isdale Apr 17, 2024
deb6cc9
Add design diagram showing the Genotype web API requests
Don-Isdale Apr 18, 2024
bf5a20c
import from vcf-genotype-brapi
Don-Isdale Apr 22, 2024
47a7668
Add DataSource BrAPI
Don-Isdale Apr 23, 2024
caae299
change imports of vcf-genotype-brapi from local npm pack to published…
Don-Isdale Apr 23, 2024
c35b0d5
lb4app/package.json : replace npm link with npm install for 3 plantin…
Don-Isdale Apr 23, 2024
af85dce
use brapi-genotype.js
Don-Isdale Apr 25, 2024
f34882b
get BrAPI variantsets and references i.e. datasets and chromosomes
Don-Isdale Apr 30, 2024
003870d
implement BrAPI samples and allelematrix
Don-Isdale May 6, 2024
c5ad10f
BrAPI result text header
Don-Isdale May 8, 2024
ecf80f9
remove whitespace before VCF result display
Don-Isdale May 9, 2024
e62a1f3
closes #374 change initial default position of right/bottom panel to …
Don-Isdale May 21, 2024
d893a7d
closes #375 Enable Germinate Datasource, without requiring url option
Don-Isdale May 21, 2024
5c0ef18
Change plantinformatics/vcf-genotype-brapi dependency from local dev …
Don-Isdale May 28, 2024
bac6680
add genotype-search
Don-Isdale Jun 12, 2024
17591ec
Merge branch 'develop' into feature/ongoingGenotype
Don-Isdale Jun 12, 2024
30c8a97
Merge branch 'feature/workingGroup3_383_GenotypeSearch' into feature/…
Don-Isdale Jun 12, 2024
9fb2d7e
Collate featuresDomain of each block from result and view the blocks …
Don-Isdale Jun 13, 2024
2e134a6
trim whitespace from text inputs samples and features in genotype-search
Don-Isdale Jun 14, 2024
786d3c2
ensure that Genotype Table is displayed when genotype-search is used
Don-Isdale Jun 14, 2024
3a4b586
report on input Sample errors to the GUI in genotype-search
Don-Isdale Jun 20, 2024
74be06d
filter out duplicate names in Samples and SNPs in genotype-search
Don-Isdale Jun 20, 2024
32bda85
omit empty regionParams in remaining cases
Don-Isdale Jun 20, 2024
418d5f4
resultBlocks : when blockGiven return undefined instead of an empty Map.
Don-Isdale Jun 21, 2024
9629b2d
add required space in bash condition
Don-Isdale Jun 21, 2024
ad32984
change authSource admin to database to reflect change of pretzelUser
Don-Isdale Jun 21, 2024
eee52db
ensure / between rootURL and apiNamespace
Don-Isdale Jun 21, 2024
2467c5b
Dockerfile : update PRETZEL_VERSION, drop const ROOT_URL=/pretzelUpdate
Don-Isdale Jun 21, 2024
d2a3625
Don't use 0 value of colHeaderHeight. Exclude INFO from featureSampleMAF
Don-Isdale Jun 24, 2024
785f002
Set selected samples for the dataset searched in genotype-search
Don-Isdale Jun 25, 2024
b61d2ea
Set the Genotype Table width to be set for genotype-search.
Don-Isdale Jun 25, 2024
c0f3d96
disable filtering out of soft links in vcf status for genotype search
Don-Isdale Jun 26, 2024
87dbb5e
Genotype Search : set array in selected samples.
Don-Isdale Jun 26, 2024
38fa545
handling of some exceptions and errors
Don-Isdale Jul 2, 2024
bf17ba9
prevent exception - don't ensureAxisBrush until block.axis1d is defined
Don-Isdale Jul 2, 2024
f104ede
handle undefined vcfGenotypeSamplesSelectedAll
Don-Isdale Jul 3, 2024
1e0f721
include the Python Flask blastServer.py in a docker-compose yaml
Don-Isdale Jul 4, 2024
cd30706
add .dockerignore
Don-Isdale Jul 4, 2024
7912dfb
add to docker-compose environment mntData, handsOnTableLicenseKey
Don-Isdale Jul 18, 2024
62662f7
define vcfDir using mntData in vcfGenotypeLookup.bash
Don-Isdale Jul 18, 2024
43855cc
define vcfDir using mntData in vcfGenotypeLookup.bash
Don-Isdale Jul 18, 2024
15fa1a5
include the Python Flask blastServer.py in a docker-compose yaml
Don-Isdale Jul 4, 2024
b65ce69
use mntData for blastDir and vcfDir
Don-Isdale Jul 18, 2024
11d4388
Merge remote-tracking branch 'origin/feature/composeDirs' into featur…
Don-Isdale Jul 22, 2024
051950c
closes #398 : display blast errors in GUI to distinguish errors from …
Don-Isdale Jul 22, 2024
203cae8
add request header accept json and parse message from html response
Don-Isdale Jul 24, 2024
7561947
update version -> v2.18.1
Don-Isdale Jul 24, 2024
b54f21b
Set initial tab in left panel to Dataset Explorer
Don-Isdale Jul 25, 2024
09be10b
catch exception from loading landingPageContent
Don-Isdale Jul 25, 2024
a1a4aab
Exclude Feature .INFO from calculations on sample values
Don-Isdale Aug 9, 2024
70e606d
enable datasets in groups to display in Dataset Explorer
Don-Isdale Aug 9, 2024
ee38373
don't expose the blastserver port 4000
Don-Isdale Aug 9, 2024
8c69758
adjust paths configuration for blastserver
Don-Isdale Aug 13, 2024
57b0496
add glob and rollup. ensure ROOT_URL has a trailing slash.
Don-Isdale Aug 13, 2024
df1c3c8
change source of package ember-cli-build-date
Don-Isdale Aug 13, 2024
c339e43
include a copy of ensureTrailingString to work around module error
Don-Isdale Aug 14, 2024
0c686c2
use github Facilecomm for ember-local-storage
Don-Isdale Aug 16, 2024
be1c684
adjust frontend dependency vcf-genotype-brapi
Don-Isdale Aug 16, 2024
934ff56
import ember-local-storage from @facilecomm
Don-Isdale Aug 19, 2024
e219d60
increase base font size to match previous
Don-Isdale Aug 19, 2024
4120726
Enable configuration of ROOT_URL in container image build
Don-Isdale Aug 19, 2024
643ae2e
fix initial width of axis track rectangles
Don-Isdale Aug 20, 2024
c8d2729
adjust mousewheel zoom at top of axis
Don-Isdale Aug 20, 2024
c70c3b1
change default extraOutsideMargin to 0
Don-Isdale Aug 20, 2024
1bb4194
show right edge when axis with QTLs is split
Don-Isdale Aug 21, 2024
41fabf5
resize height of right axis edge when window resizes
Don-Isdale Aug 21, 2024
1d32e4f
Merge remote-tracking branch 'origin/feature/workingGroup3_383_Genoty…
Don-Isdale Aug 26, 2024
0791873
show error message from vcfGenotypeLookup
Don-Isdale Aug 26, 2024
3a14c51
direct dependency on serve-favicon is not required
Don-Isdale Aug 30, 2024
1560227
handle connection failures when requesting ontology tree
Don-Isdale Aug 30, 2024
e7f1830
change form of github path of interval-bins in package.json
Don-Isdale Aug 30, 2024
3ed37bc
in Publication Mode disable the axis drag/drop target zones
Don-Isdale Sep 3, 2024
b9e8fba
genotype-search : show triangles for features found
Don-Isdale Sep 5, 2024
8e9f394
copy blastn from ncbi/blast image into blastserver image
Don-Isdale Sep 11, 2024
87ff0e0
increment BLASTSERVER_VERSION to 1.0.5
Don-Isdale Sep 11, 2024
124a823
genotype-search show HTML error text, ensure vcfGenotypeSamplesSelect…
Don-Isdale Sep 12, 2024
7bbc8a5
genotype-search handle undefined vcfGenotypeSamplesSelectedAll
Don-Isdale Sep 13, 2024
bf3604f
add configuration to handle links for non-container blastserver
Don-Isdale Sep 17, 2024
7f59bd4
update the action for file input in file-drop-zone
Don-Isdale Sep 17, 2024
c1bdf42
handle errors from numeric ontologyId
Don-Isdale Sep 18, 2024
9331e9d
ensure brushedDomain is exact so that outside SNPs are not filtered o…
Don-Isdale Sep 19, 2024
728890f
handle undefined feature.values
Don-Isdale Sep 30, 2024
8f8dca1
add .nvmrc in frontend and lb4app
Don-Isdale Oct 3, 2024
e1aee89
factor sample filter from Genotype Table to Genotype Search
Don-Isdale Oct 3, 2024
a84b4cb
get and display samples in genotype-search when user selects dataset
Don-Isdale Oct 7, 2024
e53d187
disable adding a block of selectedDataset to viewedVCFBlocks
Don-Isdale Oct 7, 2024
52016e8
in Genotype Search don't show checkbox Common samplesIntersection and…
Don-Isdale Oct 8, 2024
b05e679
re-render selectedFeatures when their number changes
Don-Isdale Oct 8, 2024
ee226f3
disable some trace
Don-Isdale Oct 8, 2024
abc6886
order the Genotype Table first on chromosome, then position
Don-Isdale Oct 11, 2024
01c6f0e
add button Show Samples
Don-Isdale Oct 14, 2024
101c3b2
ensure manageGenotype is shown before setting selectedSamplesText
Don-Isdale Oct 14, 2024
3021b65
adjust indent
Don-Isdale Oct 15, 2024
a6915b1
skip setup of OpenAIApi if key is not defined
Don-Isdale Oct 15, 2024
df363aa
initialise body class tablesPanelRight
Don-Isdale Oct 15, 2024
67ea73b
clear QTL hover in top-right of graph after 5sec
Don-Isdale Oct 15, 2024
aff5728
Don't switch to the dataset tab if the Genotype Table is displayed
Don-Isdale Oct 15, 2024
1596ae3
show active initial dataset tab in Genotype Table controls
Don-Isdale Oct 15, 2024
d4bfc8e
update frontend/package re. vcf-genotype-brapi
Don-Isdale Oct 17, 2024
dba893b
preserve Genotype Search selectedDatasetId
Don-Isdale Oct 17, 2024
03dce1c
enable Search button when manage-genotype is not shown
Don-Isdale Oct 18, 2024
9f11dd9
clean up after previous commit commit 03dce1c0
Don-Isdale Oct 18, 2024
c44cd5a
solve exception caused by click in header row of LD Block column
Don-Isdale Oct 22, 2024
68cbd3a
add to blastserver image binaries parallel and vmtouch used by blastn
Don-Isdale Oct 22, 2024
c17ceaa
disable CSV Download button so that paths are shown in table
Don-Isdale Oct 22, 2024
ba076ed
update version 2.18.1 -> 3.0.0
Don-Isdale Oct 22, 2024
2bb05c0
update blastserver image version to 1.0.6
Don-Isdale Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git
doc
tmp
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# was /backend/
/lb4app/lb3app/client
/lb4app/lb3app/tmp
/lb4app/tmp
/tmp
/log
*.log
Expand All @@ -27,3 +28,4 @@ bower_components
# etags file
TAGS
.vscodeignore
.aider*
35 changes: 20 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

# samtools build layer is based on https://hub.docker.com/r/bschiffthaler/samtools/dockerfile

ARG NODE_ALPINE_VERSION 12
ARG NODE_ALPINE_VERSION=18

# ${NODE_ALPINE_VERSION}
FROM node:12-alpine as node-alpine-build-samtools
FROM node:18-alpine as node-alpine-build-samtools

ARG NODE_ALPINE_VERSION 12
ARG NODE_ALPINE_VERSION=18
ARG SAMTOOLS_VERSION=1.15.1
ARG BUILD_NCPU=1

Expand Down Expand Up @@ -74,10 +74,10 @@ WORKDIR /
#-------------------------------------------------------------------------------

# ${NODE_ALPINE_VERSION}
FROM node:12-alpine as node-alpine-pretzel
FROM node:18-alpine as node-alpine-pretzel

ARG PRETZEL_VERSION 2.15.0
ARG NODE_ALPINE_VERSION 12
ARG PRETZEL_VERSION 2.17.8
ARG NODE_ALPINE_VERSION 18

# node-sass version is selected so that the binary can be downloaded;
# otherwise, node-gyp will be built, and hence the following dependencies on python, make, c++.
Expand Down Expand Up @@ -105,8 +105,7 @@ RUN apk add --no-cache git \
terminus-font \
curl \
jq \
openssh \
&& npm install bower -g
openssh


# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -155,29 +154,35 @@ RUN mkdir $NODE_BE $NODE_BE/bin $NODE_BE/lib
COPY --from=node:16-alpine /usr/local/bin $NODE_BE/bin
COPY --from=node:16-alpine /usr/local/lib $NODE_BE/lib


# may be required later, for upgradeFrontend2 : -g rollup && npm install [email protected]
RUN date \
&& ls -sF $NODE_BE/lib \
&& export PATH=$NODE_BE/bin:$PATH \
&& export NODE_PATH=$NODE_BE/lib/node_modules \
&& cd $NODE_BE/lib && npm -v && node -v \
&& npm config set scripts-prepend-node-path true \
&& cd /app && npm install [email protected] && npm ci \
&& cd /app && npm install -g rollup && npm install [email protected] [email protected] && npm ci \
&& date


RUN node --version
RUN cd /frontend && (npm ci || npm install) && bower install --allow-root
RUN cd /frontend && (npm ci || npm install)

# RUN cd /app && npm install [email protected] && npm ci

RUN cd /frontend && node_modules/ember-cli/bin/ember build --environment production
ARG ROOT_URL
ENV ROOT_URL=${ROOT_URL}
LABEL ROOT_URL=${ROOT_URL}
# if sass binary binding not available may need : npm rebuild node-sass &&
#
# ROOT_URL should be configurable via e.g. --build-arg ROOT_URL=/app
# or can hard-wired here via : && ROOT_URL=/pretzelUpdate
RUN cd /frontend && npm rebuild node-sass && echo ROOT_URL=${ROOT_URL} && node_modules/ember-cli/bin/ember build --environment production

RUN ( [ ! -L /app/client ] || rm /app/client ) && \
mv /frontend/dist /app/client \
&& cd / \
&& rm -rf /frontend \
&& npm uninstall -g bower \
&& npm cache clean --force

ENV EMAIL_VERIFY=NONE AUTH=ALL
Expand All @@ -187,10 +192,10 @@ ENTRYPOINT ["/usr/local/node16/bin/node", "/app/lb3app/server/server.js"]

# ------------------------------------------------------------------------------

ARG NODE_ALPINE_VERSION 12
ARG NODE_ALPINE_VERSION=18
ARG SAMTOOLS_VERSION=1.15.1
ARG bcftoolsVer=1.15.1
ARG PRETZEL_VERSION 2.15.0
ARG PRETZEL_VERSION=2.17.8


LABEL maintainer='github.com/plantinformatics'
Expand Down
116 changes: 116 additions & 0 deletions doc/notes/design_diagram_genotype_web_API.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- using jsdelivr for css because unpkg gets :
Refused to apply style from 'https://unpkg.com/[email protected]/dist/mermaid.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.css">
</head>

<body>

<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>

<script>
mermaid.initialize({startOnLoad:true});
</script>

<!-- based on copy of ./design_diagram_dnaSequenceSearch.html, via design_diagram_vcfFeature.html

-->

<h1>
<a id="user-content-design" class="anchor" href="#design" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
Design
</h1>
<h2>
<a id="user-content-explorer-CF-data-flow-diagrams" class="anchor" href="#explorer-CF-data-flow-diagrams" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
Design diagram showing the Genotype web API requests
</h2>

<!-- seems like recent versions of mermaid css make this additional formatting unnecessary, and possibly not used. -->
<!-- for local editing, change href to mermaid_classDiagram.css -->
<link type="text/css" rel="Stylesheet" href="https://cdn.jsdelivr.net/gh/plantinformatics/pretzel/doc/notes/mermaid_classDiagram.css" />

<!-- Note below about clearfix. -->
<div class="clearfix">

<h2>Custom API</h2>

<div class="mermaid classDiagram" style="width: 100%;" >
sequenceDiagram
participant C as Pretzel Frontend GUI
participant S as Pretzel Server

C->>S: Blocks/vcfGenotypeLookup
create participant B as bcftools
S->>B: bcftools query or view
destroy B
B->>S: VCF result
S->>C: VCF result
</div>
<!-- destroy B -->

<h2>BrAPI</h2>
<div class="mermaid classDiagram" style="width: 100%;" >
sequenceDiagram

participant C as Pretzel Frontend GUI
participant S as Pretzel Server

C->>S: brapi/v2/search/allelematrix
create participant B as bcftools
S->>B: bcftools query or view
destroy B
B->>S: VCF result
S->>C: allelematrix result

</div>

<!--

/** not used */

: !

-->

<div class="clearfix">
</div>

<p>
Notes :
<ul>
<li></li>
</ul>
</p>



<p>Code links</p>
<ul>
<li><a href="https://github.com/plantinformatics/vcf-genotype-brapi/blob/develop/src/utils/data/vcf-feature.js">vcf-genotype-brapi/blob/develop/src/utils/data/vcf-feature.js</a></li>
<li><a href="https://github.com/plantinformatics/pretzel/blob/feature/ongoingGenotype/frontend/app/services/auth.js">frontend/app/services/auth.js</a></li>
</ul>

<div class="clearfix">
</div>


<p> Diagram drawn by :
<a href="https://mermaidjs.github.io/">Mermaid</a>,
github <a href="https://github.com/knsv/mermaid">readme</a>
</p>

<hr>
<!-- Use either this, or class="clearfix" on the previous div. -->
<div style="clear:both">
</div>



</body>
</html>
123 changes: 123 additions & 0 deletions doc/notes/design_diagram_vcfFeature.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- using jsdelivr for css because unpkg gets :
Refused to apply style from 'https://unpkg.com/[email protected]/dist/mermaid.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.css">
</head>

<body>

<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>

<script>
mermaid.initialize({startOnLoad:true});
</script>

<!-- based on copy of ./design_diagram_dnaSequenceSearch.html, with call graph extracted by aider
-->

<h1>
<a id="user-content-design" class="anchor" href="#design" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
Design
</h1>
<h2>
<a id="user-content-explorer-CF-data-flow-diagrams" class="anchor" href="#explorer-CF-data-flow-diagrams" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
Design diagram showing the calls between function defined within vcf-feature.js
</h2>

<!-- seems like recent versions of mermaid css make this additional formatting unnecessary, and possibly not used. -->
<!-- for local editing, change href to mermaid_classDiagram.css -->
<link type="text/css" rel="Stylesheet" href="https://cdn.jsdelivr.net/gh/plantinformatics/pretzel/doc/notes/mermaid_classDiagram.css" />

<!-- Note below about clearfix. -->
<div class="clearfix">


<div class="mermaid classDiagram" style="width: 100%;" >
graph TD

A(vcf-feature.js functions) --> |calls| B(featureMafFilter)
A --> |calls| C(featureCallRateFilter)
A --> |calls| D(featuresFilterNalleles)
A --> |calls| E(genotypeSNPFiltersApply)
A --> |calls| F(featuresSampleMAF)
A --> |calls| G(featureSampleMAF)
A --> |calls| H(vcfFeatures2MatrixView)
A --> |calls| I(vcfFeatures2MatrixViewRows)
A --> |calls| J(rowsAddFeature)
A --> |calls| K(annotateRowsFromFeatures)
A --> |calls| L(featuresValuesFields)
A --> |calls| M(featureSampleNames)
A --> |calls| N(objectSymbolNameArray)
A --> |calls| O(genotypeSNPFiltersDefined)
</div>

<div class="mermaid classDiagram" style="width: 100%;" >
graph TD

B(featureMafFilter) --> |used by| P(vcfFeatures2MatrixView)
C(featureCallRateFilter) --> |used by| Q(vcfFeatures2MatrixViewRows)
D(featuresFilterNalleles) --> |used by| R(vcfFeatures2MatrixViewRows)
E(genotypeSNPFiltersApply) --> |used by| S(vcfFeatures2MatrixView)
F(featuresSampleMAF) --> |used by| T(vcfFeatures2MatrixViewRows)
G(featureSampleMAF) --> |used by| U(vcfFeatures2MatrixViewRows)
H(vcfFeatures2MatrixView) --> |used by| V(vcfFeatures2MatrixViewRowsResult)
I(vcfFeatures2MatrixViewRows) --> |used by| W(vcfFeatures2MatrixViewRows)
J(rowsAddFeature) --> |used by| X(vcfFeatures2MatrixViewRowsResult)
K(annotateRowsFromFeatures) --> |used by| Y(vcfFeatures2MatrixViewRowsResult)
L(featuresValuesFields) --> |used by| Z(vcfFeatures2MatrixViewRowsResult)
M(featureSampleNames) --> |used by| AA(vcfFeatures2MatrixViewRows)
N(objectSymbolNameArray) --> |used by| AB(vcfFeatures2MatrixViewRowsResult)
O(genotypeSNPFiltersDefined) --> |used by| AC(vcfFeatures2MatrixView)


</div>

<!--

/** not used */

: !

-->

<div class="clearfix">
</div>

<p>
Notes :
<ul>
<li></li>
</ul>
</p>



<p>Code links</p>
<ul>
<li><a href="https://github.com/plantinformatics/pretzel/blob/feature/ongoingGenotype/frontend/app/utils/data/vcf-feature.js">frontend/app/utils/data/vcf-feature.js</a></li>
</ul>

<div class="clearfix">
</div>


<p> Diagram drawn by :
<a href="https://mermaidjs.github.io/">Mermaid</a>,
github <a href="https://github.com/knsv/mermaid">readme</a>
</p>

<hr>
<!-- Use either this, or class="clearfix" on the previous div. -->
<div style="clear:both">
</div>



</body>
</html>
4 changes: 0 additions & 4 deletions frontend/.bowerrc

This file was deleted.

8 changes: 7 additions & 1 deletion frontend/.ember-cli
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,11 @@
*/
"liveReload": true,
"watcher": "polling",
"disableAnalytics": true
"disableAnalytics": true,

/**
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
*/
"isTypeScriptProject": false
}
5 changes: 5 additions & 0 deletions frontend/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@
# misc
/coverage/
!.*
.*/
.eslintcache

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
Loading