-
Notifications
You must be signed in to change notification settings - Fork 1
Add docs for flex libraries #494
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
Open
allyhawkins
wants to merge
3
commits into
development
Choose a base branch
from
allyhawkins/flex-docs
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+44
−22
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -5,7 +5,10 @@ | |||||
| ### Mapping and quantification using alevin-fry | ||||||
|
|
||||||
| We used [`salmon`](https://salmon.readthedocs.io/en/latest) and [`alevin-fry`](https://alevin-fry.readthedocs.io/en/latest/) to generate gene by cell counts matrices for all single-cell and single-nuclei samples. | ||||||
| In brief, we utilized [selective alignment](#selective-alignment) to the [`splici` index](#reference-transcriptome-index) for all single-cell and single-nuclei samples. | ||||||
| In brief, we utilized [selective alignment](#selective-alignment) to the [`splici` index](#reference-transcriptome-index). | ||||||
|
|
||||||
| The only exception to this was single-nuclei samples generated using the probe-based GEM-X Flex platform from 10x Genomics. | ||||||
| See [Quantification for GEM-X Flex samples](#quantification-for-gem-x-flex-samples) for more information. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| #### Reference transcriptome index | ||||||
|
|
||||||
|
|
@@ -36,12 +39,23 @@ In contrast to Cell Ranger, `cr-like-em` keeps multi-mapped reads and invokes an | |||||
|
|
||||||
| 3. With initial mapping to the `splici` index, `alevin-fry` quantification resulted in separate counts for spliced and unspliced transcripts, and an ambiguous count for reads compatible with either spliced or unspliced transcripts. | ||||||
|
|
||||||
| ### Post alevin-fry processing | ||||||
|
|
||||||
| #### Combining counts from spliced cDNA and intronic regions | ||||||
|
|
||||||
| For single-cell and single-nuclei samples, the reads from spliced cDNA and intronic regions are combined by gene to produce a gene by cell counts matrix. | ||||||
| For single-cell and single-nuclei samples processed with `alevin-fry`, the reads from spliced cDNA and intronic regions are combined by gene to produce a gene by cell counts matrix. | ||||||
| After combining read counts, values are rounded to integer values. | ||||||
| The counts data from this step can be found in the `unfiltered` objects included with each library. | ||||||
|
|
||||||
| ### Mapping and quantification for GEM-X Flex samples | ||||||
|
|
||||||
| Libraries that were generated using the GEM-X Flex technology from 10x Genomics were quantified with the [`cellranger multi` pipeline](https://www.10xgenomics.com/support/software/cell-ranger/latest/analysis/running-pipelines/cr-multi) within Cell Ranger. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Comment that applies throughout PR - pick either |
||||||
| The `cellranger mkref` command was used to create a transcriptome reference index compatible with Cell Ranger. | ||||||
| The probe set associated with the specific GEM-X Flex version used for library preparation was provided as input alongside the transcriptome reference index and FASTQ files to `cellranger multi`. | ||||||
|
|
||||||
| If samples were multiplexed into a single library using GEM-X Flex, demultiplexing was performed as part of `cellranger multi` so that outputs were separated to have one gene by cell counts matrix for each sample. | ||||||
|
|
||||||
| The gene by cell counts matrix output for each sample in the `raw_feature_bc_matrix` folder was saved to the `unfiltered` objects included with each library. | ||||||
|
|
||||||
| ### Post alignment processing | ||||||
|
|
||||||
| #### Filtering cells | ||||||
|
|
||||||
|
|
||||||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can neither confirm nor deny that I just spent 3 minutes being really confused why we don't set this for spaceranger too, only to remember we do not make SPEs. That's the other thing I work on (training materials).