Roger-luo / GSEA.jl

The ✨ new ✨ Gene Set Enrichment Analysis 🧬

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GSEA.jl

The ✨ new ✨ Gene Set Enrichment Analysis 🧬

🚧 Under rapid development 🚧

πŸ’ Join the bioinformatics community to get live help on GSEA (and everything bioinformatics) πŸŽͺ ⌨️ πŸ”° πŸ’‘

Use gsea command-line interface

Run single-sample GSEA

gsea si

Run pre-rank GSEA

gsea pr

Run standard GSEA

gsea st

Convert .gct and .cls to .tsvs

gsea convert-gct-and-cls bad.gct output/

Convert .gmt to .json

gsea convert-gmt bad.gmt good.json

Settings are just .json files.

Run test

  1. Go to the test directory
cd test/data/sarcopenia

ls
  1. Make output directory
rm -rf output

mkdir output
  1. Convert .gct and .cls into .tsv
gsea convert-gct-and-cls gse111016_allsamplescounts_htseqcov1_sss_forgeo.sarcopenia.vs.normal_counts_collapsed_to_symbols.gct sarcopenia_binary.cls output

ls score.*
  1. Convert .gmt into .json
gsea convert-gmt c2.cp.wikipathways.v7.4.symbols.gmt output/set_to_genes.json

head output/set_to_genes.json
  1. Run standard GSEA
gsea run-standard-gsea ../setting/standard_gsea.json output/set_to_genes.json output/score.target_by_sample.tsv output/score.gene_by_sample.tsv output

head output/set_by_statistic.tsv

Install

1. Download

git clone https://github.com/KwatMDPhD/GSEA.jl &&

cd GSEA.jl &&

julia --project --eval "using Pkg; Pkg.instantiate()"

2. Build a personal or transferable binary

Personal binary

julia --project deps/build.jl

☝️ installs gsea into ~/.julia/bin.

If not already, add this bin to the path by adding πŸ‘‡ to the profile (~/.zbashrc, ~/.babashrc, ...)

PATH=~/.julia/bin:$PATH

Transferable binary

julia --project deps/build.jl app tarball

☝️ makes build and gsea-application-N.N.N-julia-N.N.N-MACHINE-xNN.tar.gz.

Add build/gsea/bin to the path.

3. Test installation

Start a new bash just in case.

gsea -h

πŸŽ‰


Howdy πŸ‘‹ 🀠

To report a bug, request a feature, or leave a comment, just submit an issue.


Powered by https://github.com/KwatMDPhD/PkgRepository.jl

About

The ✨ new ✨ Gene Set Enrichment Analysis 🧬

License:GNU General Public License v3.0


Languages

Language:HTML 96.4%Language:Julia 1.4%Language:CSS 1.1%Language:Jupyter Notebook 1.0%Language:VBA 0.0%Language:TeX 0.0%