diff --git a/.github/workflows/compatibility_tests.yml b/.github/workflows/compatibility_tests.yml
index 929bb96f..11c9d0cd 100644
--- a/.github/workflows/compatibility_tests.yml
+++ b/.github/workflows/compatibility_tests.yml
@@ -5,7 +5,7 @@ on:
- cron: '0 8 7 * 2'
push:
branches:
- - master
+ - main
env:
JEST_ENV: prod
@@ -22,7 +22,7 @@ jobs:
- name: Build docker image
run: docker build .
- cellxgene-master-with-python-and-anndata-versions:
+ cellxgene-main-with-python-and-anndata-versions:
name: python versions x anndata versions
runs-on: ubuntu-latest
strategy:
@@ -86,8 +86,8 @@ jobs:
- name: Tests
run: cd cellxgene && make unit-test ${{ matrix.test-suite }}
- cellxgene-master-with-anndata-master:
- name: cellxgene master with anndata master
+ cellxgene-main-with-anndata-master:
+ name: cellxgene main with anndata master
runs-on: ubuntu-latest
strategy:
matrix:
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index ca0f3bec..48d1923a 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -2,7 +2,7 @@ name: Deploy via single cell infra repo
on:
push:
- branches: master
+ branches: main
jobs:
deploy:
diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml
index 0ccbde78..8b5ba39e 100644
--- a/.github/workflows/push_tests.yml
+++ b/.github/workflows/push_tests.yml
@@ -2,7 +2,7 @@ name: Push Tests
on:
push:
- branches: master
+ branches: main
pull_request:
branches: "*"
diff --git a/.gitignore b/.gitignore
index cb29f839..509d9153 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,6 +43,7 @@ npm-debug.log
__pycache__
*.DS_Store*
data
+tags
# Jekyll
docs/_site/
diff --git a/Makefile b/Makefile
index 8da0edd3..0fe4633f 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ pydist: build
# RELEASE HELPERS
-# create new version to commit to master
+# create new version to commit to main
.PHONY: release-stage-1
release-stage-1: dev-env bump clean-lite gen-package-lock
@echo "Version bumped part:$(PART) and client built. Ready to commit and push"
diff --git a/README.md b/README.md
index 73114b36..2330f20f 100644
--- a/README.md
+++ b/README.md
@@ -5,13 +5,13 @@ _an interactive explorer for single-cell transcriptomics data_
[](https://zenodo.org/badge/latestdoi/105615409) [](https://pypi.org/project/cellxgene/) [](https://pypistats.org/packages/cellxgene) [](https://github.com/chanzuckerberg/cellxgene/pulse)
[](https://github.com/chanzuckerberg/cellxgene/actions?query=workflow%3A%22Push+Tests%22)
[](https://github.com/chanzuckerberg/cellxgene/actions?query=workflow%3A%22Compatibility+Tests%22)
-
+
cellxgene (pronounced "cell-by-gene") is an interactive data explorer for single-cell transcriptomics datasets, such as those coming from the [Human Cell Atlas](https://humancellatlas.org). Leveraging modern web development techniques to enable fast visualizations of at least 1 million cells, we hope to enable biologists and computational researchers to explore their data.
Whether you need to visualize one thousand cells or one million, cellxgene helps you gain insight into your single-cell data.
-
+
# Getting started
### The comprehensive guide to cellxgene
diff --git a/dev_docs/developer_guidelines.md b/dev_docs/developer_guidelines.md
index 409d34ed..e7a4dce7 100644
--- a/dev_docs/developer_guidelines.md
+++ b/dev_docs/developer_guidelines.md
@@ -18,7 +18,7 @@ You can set these environment variables manually with the `export` shell command
## Running test suite
-Client and server tests run on Travis CI for every push, PR, and commit to master on github. End to end tests run nightly on master only.
+Client and server tests run on Travis CI for every push, PR, and commit to `main` on github. End to end tests run nightly on `main` only.
### Unit tests
diff --git a/dev_docs/release_process.md b/dev_docs/release_process.md
index 2b67adfc..6a02280c 100644
--- a/dev_docs/release_process.md
+++ b/dev_docs/release_process.md
@@ -33,7 +33,7 @@ Follow these steps to create a release.
4. Commit and push the new branch
5. Create a PR for the release.
- [optional] As needed, conduct PR review.
-6. Merge to master
+6. Merge to the `main` branch
7. Publish to pypi by performing the following steps (assumes you that you have registered for pypi,
and that you have write access to the cellxgene pypi package):
- Build the distribution and upload to test pypi `make release-stage-2`
@@ -44,7 +44,7 @@ Follow these steps to create a release.
([instructions](https://help.github.com/articles/creating-releases/)).
- Draft new release
- Type version name matching release version number from (1)
- - Select `master` as release branch (ensure you merged the release PR)
+ - Select `main` as release branch (ensure you merged the release PR)
- Type title `Release {version num}`
- [optional] Check pre-release if this release is not ready for production
- Publish Release
@@ -55,7 +55,7 @@ change the packaging (e.g. new bundled files, new dependencies, etc.)
### Point release (special case)
-To make a bugfix release (a point release) when there are already other changes in master we need to do a modified version of our release process. The difference is that instead of using master we are going make our release branch off of the tag for the release we want to patch. We cherrypick the commits that we want to include in the patch. Then instead of merging to master, we create the release directly off of the branch.
+To make a bugfix release (a point release) when there are already other changes in `main` we need to do a modified version of our release process. The difference is that instead of using `main` we are going make our release branch off of the tag for the release we want to patch. We cherrypick the commits that we want to include in the patch. Then instead of merging to `main`, we create the release directly off of the branch.
1. (same as above) Preparation:
- python3.6 environment, and a cellxgene clone
@@ -68,10 +68,10 @@ To make a bugfix release (a point release) when there are already other changes
- Create a branch from that tag. `git branch release-0.9.1`
3. Cherrypick the commits that you want included in this patch.
- Test that the cherrypicked commits landed and fixed the issue
- - We WILL NOT merge this branch back into master, these commits should already exist in master.
+ - We WILL NOT merge this branch back into `main`, these commits should already exist in `main`.
4. In the release branch:
- Run `make release-stage-1 PART=patch`.
-5. Commit and push the new branch. DO NOT MAKE A PR OR MERGE TO MASTER.
+5. Commit and push the new branch. DO NOT MAKE A PR OR MERGE TO `main`.
- wait for release to pass the tests
6. Publish to pypi by performing the following steps (assumes you that you have registered for pypi,
and that you have write access to the cellxgene pypi package): - Build the distribution and upload to test pypi `make release-stage-2` - Test the test installation in a fresh virtual environment using `make install-release-test` - Upload the package to real pypi using `make release-stage-final` - Test the installation in a fresh virtual environment using
diff --git a/docs/_site/index.html b/docs/_site/index.html
index 51bd2b56..53d91c0f 100644
--- a/docs/_site/index.html
+++ b/docs/_site/index.html
@@ -5,7 +5,7 @@
-
+
You can also launch from a URL directly like this:
-cellxgene launch https://github.com/chanzuckerberg/cellxgene/blob/master/example-dataset/pbmc3k.h5ad
+cellxgene launch https://github.com/chanzuckerberg/cellxgene/blob/main/example-dataset/pbmc3k.h5ad
Support for S3 and GCS is not enabled by default. If you wish to directly access S3 or GFS, install one or both of the following packages:
diff --git a/docs/_site/posts/methods.html b/docs/_site/posts/methods.html
index a69bdeec..120cb803 100644
--- a/docs/_site/posts/methods.html
+++ b/docs/_site/posts/methods.html
@@ -5,7 +5,7 @@
-
+
Methods | cellxgene
@@ -16,10 +16,10 @@
+{"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://chanzuckerberg.github.io/cellxgene/cellxgene-logo.png"}},"description":"An interactive explorer for single-cell transcriptomics data","@type":"WebPage","url":"https://chanzuckerberg.github.io/cellxgene/posts/methods.html","headline":"Methods","@context":"https://schema.org"}
-
+
@@ -114,7 +114,7 @@
Differential expression
We’re actively working on how to improve differential expression within the app.
-N.B.: the current implementation assumes normally distributed values on a linear scale.
+N.B.: the current implementation assumes normally distributed values on a linear scale.
Currently, we use a Welch’s t-test, which assumes that the two populations are each normally distributed, but may have unequal variance. We use a two-sided t-test against the null hypothesis that the two populations have equal means. P-values are adjusted with the Bonferroni corrrection.
diff --git a/docs/_site/posts/methods.md b/docs/_site/posts/methods.md
index 17a72da2..22a5407e 100644
--- a/docs/_site/posts/methods.md
+++ b/docs/_site/posts/methods.md
@@ -17,7 +17,7 @@ cellxgene looks for embeddings (e.g., tSNE, UMAP, PCA, spatial coordinates) in `
## Differential expression
We're actively working on how to improve differential expression within the app.
-**N.B.: the [current implementation](https://github.com/chanzuckerberg/cellxgene/blob/master/server/app/scanpy_engine/diffexp.py#L40) assumes normally distributed values on a linear scale.**
+**N.B.: the [current implementation](https://github.com/chanzuckerberg/cellxgene/blob/main/server/app/scanpy_engine/diffexp.py#L40) assumes normally distributed values on a linear scale.**
Currently, we use a [Welch's _t_-test](https://en.wikipedia.org/wiki/Welch%27s_t-test), which assumes that the two populations are each normally distributed, but may have unequal variance. We use a two-sided t-test against the null hypothesis that the two populations have **equal** means. P-values are adjusted with the [Bonferroni corrrection](https://en.wikipedia.org/wiki/Bonferroni_correction).
diff --git a/docs/_site/posts/prepare.html b/docs/_site/posts/prepare.html
index 05f88230..b1ea7137 100644
--- a/docs/_site/posts/prepare.html
+++ b/docs/_site/posts/prepare.html
@@ -5,7 +5,7 @@
-
+
prepare | cellxgene
@@ -16,10 +16,10 @@
+{"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://chanzuckerberg.github.io/cellxgene/cellxgene-logo.png"}},"description":"Preparing your data","@type":"WebPage","url":"https://chanzuckerberg.github.io/cellxgene/posts/prepare.html","headline":"prepare","@context":"https://schema.org"}
-
+
@@ -103,7 +103,7 @@
Expression values (raw or normalized) in anndata.X
At least one embedding (e.g., tSNE, UMAP) in anndata.obsm, specified with the prefix X_ (e.g., by default scanpy stores UMAP coordinates in anndata.obsm['X_umap'])
A unique identifier is required for each cell, which by default will be pulled from the obs DataFrame index. If the index is not unique or does not contain the cell ID, an alternative column can be specified with --obs-names
- A unique identifier is required for each gene, which by default will be pulled from the var DataFrame index. If the index is not unique or does not contain the cell ID, an alternative column can be specified with --var-names
+ A unique identifier is required for each gene, which by default will be pulled from the var DataFrame index. If the index is not unique or does not contain the gene ID, an alternative column can be specified with --var-names
What about R objects from seurat / bioconductor!?
diff --git a/docs/_site/posts/roadmap.html b/docs/_site/posts/roadmap.html
index 1d053152..54859937 100644
--- a/docs/_site/posts/roadmap.html
+++ b/docs/_site/posts/roadmap.html
@@ -5,7 +5,7 @@
-
+
roadmap | cellxgene
@@ -16,10 +16,10 @@
+{"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://chanzuckerberg.github.io/cellxgene/cellxgene-logo.png"}},"description":"Roadmap","@type":"WebPage","url":"https://chanzuckerberg.github.io/cellxgene/posts/roadmap.html","headline":"roadmap","@context":"https://schema.org"}
-
+
diff --git a/docs/_site/posts/troubleshooting.html b/docs/_site/posts/troubleshooting.html
index f0586b56..4449c0f3 100644
--- a/docs/_site/posts/troubleshooting.html
+++ b/docs/_site/posts/troubleshooting.html
@@ -5,7 +5,7 @@
-
+
Troubleshooting | cellxgene
@@ -16,10 +16,10 @@
+{"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://chanzuckerberg.github.io/cellxgene/cellxgene-logo.png"}},"description":"Troubleshooting","@type":"WebPage","url":"https://chanzuckerberg.github.io/cellxgene/posts/troubleshooting.html","headline":"Troubleshooting","@context":"https://schema.org"}
-
+
diff --git a/docs/posts/launch.md b/docs/posts/launch.md
index 5046eb71..7a486ae2 100644
--- a/docs/posts/launch.md
+++ b/docs/posts/launch.md
@@ -25,7 +25,7 @@ You should see your web browser open with the following
You can also launch from a URL directly like this:
```
-cellxgene launch https://github.com/chanzuckerberg/cellxgene/blob/master/example-dataset/pbmc3k.h5ad
+cellxgene launch https://github.com/chanzuckerberg/cellxgene/blob/main/example-dataset/pbmc3k.h5ad
```
Support for S3 and GCS is not enabled by default. If you wish to directly access S3 or GFS, install one or both of the following packages:
diff --git a/docs/posts/methods.md b/docs/posts/methods.md
index 17a72da2..22a5407e 100644
--- a/docs/posts/methods.md
+++ b/docs/posts/methods.md
@@ -17,7 +17,7 @@ cellxgene looks for embeddings (e.g., tSNE, UMAP, PCA, spatial coordinates) in `
## Differential expression
We're actively working on how to improve differential expression within the app.
-**N.B.: the [current implementation](https://github.com/chanzuckerberg/cellxgene/blob/master/server/app/scanpy_engine/diffexp.py#L40) assumes normally distributed values on a linear scale.**
+**N.B.: the [current implementation](https://github.com/chanzuckerberg/cellxgene/blob/main/server/app/scanpy_engine/diffexp.py#L40) assumes normally distributed values on a linear scale.**
Currently, we use a [Welch's _t_-test](https://en.wikipedia.org/wiki/Welch%27s_t-test), which assumes that the two populations are each normally distributed, but may have unequal variance. We use a two-sided t-test against the null hypothesis that the two populations have **equal** means. P-values are adjusted with the [Bonferroni corrrection](https://en.wikipedia.org/wiki/Bonferroni_correction).
diff --git a/server/test/test_anndata_adaptor_data_load.py b/server/test/test_anndata_adaptor_data_load.py
index f7848b9f..c80935f3 100644
--- a/server/test/test_anndata_adaptor_data_load.py
+++ b/server/test/test_anndata_adaptor_data_load.py
@@ -65,7 +65,7 @@ class DataLocatorAdaptorTest(unittest.TestCase):
self.stdAsserts(data)
def test_url_https(self):
- url = "https://raw.githubusercontent.com/chanzuckerberg/cellxgene/master/example-dataset/pbmc3k.h5ad"
+ url = "https://raw.githubusercontent.com/chanzuckerberg/cellxgene/main/example-dataset/pbmc3k.h5ad"
locator = DataLocator(url)
config = AppConfig()
config.update(**self.args)
@@ -73,7 +73,7 @@ class DataLocatorAdaptorTest(unittest.TestCase):
self.stdAsserts(data)
def test_url_http(self):
- url = "http://raw.githubusercontent.com/chanzuckerberg/cellxgene/master/example-dataset/pbmc3k.h5ad"
+ url = "http://raw.githubusercontent.com/chanzuckerberg/cellxgene/main/example-dataset/pbmc3k.h5ad"
locator = DataLocator(url)
config = AppConfig()
config.update(**self.args)