Skip to content

LUMC-BioSemantics/crosslinkWGCNA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation instructions

Install WGCNA package in R:

source("http://bioconductor.org/biocLite.R")
biocLite(c("AnnotationDbi", "impute", "GO.db", "preprocessCore"))
install.packages("WGCNA")

Clone git

git clone https://github.com/LUMC-BioSemantics/crosslinkWGCNA.git

In wgcna folder:

Checkout developtment branch: git checkout layout

In www folder:

Install npm if it is not installed.

Install required packages: npm install

Run the development web server: npm run dev

In api folder:

Set location of flask application: export FLASK_APP=app/__init__.py
Install dependencies:
pip install Flask-Session
pip install flask-cors --upgrade
sudo apt-get install python-scipy
pip install redis
pip install pandas
pip install rpy2==2.8.6
sudo apt-get install redis-server
Make sure that redis-server is running

Run flask application:
flask run

If errors: install any missing dependencies that are causing these errors.

Prepare data folder:

Create the data folder: mkdir /opt/wgcna

set write permission for user: sudo chown -R user:user /opt/wgcna
For help on chown, see for example: https://askubuntu.com/questions/49184/sudo-chown-r-rootmyusername-var-lib-php-session-what-should-i-put-in-usernam

Open webtool:

open localhost:4000 in google chrome.

Run instructions:

In www folder:

npm run dev

In api folder:

export FLASK_APP=app/__init__.py

flask run

Open webtool:

open localhost:4000 in google chrome.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 48.3%
  • Python 26.0%
  • JavaScript 20.1%
  • R 3.3%
  • CSS 1.0%
  • HTML 1.0%
  • Other 0.3%