Comments (6)
Hi,
I upgraded everything and rerun the whole workflow and now is fine!
Thank you!
Best
from alevin-fry.
Hi @BW15061999,
Could you provide some more information? What reference are you mapping against? How are you creating the splici reference and index? What does your transcript-to-gene mapping file look like? In general, the number of genes is determined by the reference you index and map against, and this, in turn, is determined by the annotation (e.g. GTF file) you use. For human, for example, most annotations have 20-30k genes.
Best,
Rob
from alevin-fry.
Hi,
I followed the provided tutorial and used cellranger-mm10-2.1.0
as reference, but the raw data in the original paper is using GRCm38/mm10
as reference. I am not sure if it will influence the result.
Best
from alevin-fry.
So I can confirm that if this is the number of genes you are getting before filtering, that doesn't seem right. I just downloaded the refdata-cellranger-mm10-2.1.0.tar.gz
reference, and build a splici reference from it using pyroe
:
pyroe make-splici --filename-prefix splici-ref --flank-trim-length 5 --dedup-seqs refdata-cellranger-mm10-2.1.0/fasta/genome.fa refdata-cellranger-mm10-2.1.0/genes/genes.gtf 95 mm10-2.1.0-splici
the resulting reference has 28692
distinct genes, which is what should be present when you quantify against this index. Does your 3-column transcript-to-gene mapping file (the one you pass to the quant
command) have more genes? I will note it seems a bit suspicious that 28692 / 3 = 9564
, so it's almost like you are getting a 3rd of the genes — as if you didn't quantify in USA mode but the input is being read as if you did. Since your raw quantification output is in mtx
format, can you just do head
on your raw count matrix? How many rows and columns does it have?
--Rob
from alevin-fry.
Hi,
the mtx file header is 3070 28692 2868327
, and the quants_mat_cols.txt
file has 28692 lines.
And here is how I load data:
frydir = "quant_res"
e2n_path = "geneid_to_name.txt"
adata = load_fry.load_fry(frydir, output_format = "velocity")
e2n = dict([ l.rstrip().split() for l in open(e2n_path).readlines()])
adata.var_names = [e2n[e] for e in adata.var_names]
and what it generate:
USA mode: True
Using pre-defined output format: velocity
Will populate output field X with sum of counts frorm ['S', 'A'].
Will combine ['S', 'A'] into output layer spliced.
Will combine ['U'] into output layer unspliced.
from alevin-fry.
Hi @BW15061999 ,
So this is exactly what I was positing. It looks like you have a matrix that is not in USA mode, but it's being loaded as if it is. How did you run the quant
command? What transcript-to-gene file did you pass to it?
--Rob
from alevin-fry.
Related Issues (20)
- Raw and filtered count data similar to cell ranger output.
- Unmaintained dependency used by alevin fry HOT 1
- Update documentation to include recommended processing for 10x scRNA 5' V2 HOT 2
- Feature request: Support for 10x "flex" fixed RNA data HOT 3
- alevin-fry not generating all required output files HOT 6
- technical limitation to bc length? HOT 2
- Alevin-fry for SMARt-seq3 data
- request for a tutorial using alevin-fry for multiome datasets
- Request for a decoy-aware index in alevin-fry (with a specific case) HOT 6
- Merging replicates with different permit lists HOT 2
- Using genotype based demultiplexing tools on alevin-fry output HOT 1
- Cannot get output HOT 2
- Don't correct barcodes HOT 1
- The barcode or umi spans multi reads HOT 7
- zero-length barcode HOT 2
- almost no genes detected
- CorrectedReads in featureDump.txt
- only 100 cells output from feature barcoding data HOT 19
- How to realize umi-tools directional algorithm in alevin-fry HOT 5
- ExitStatus(unix_wait_status(6)) HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alevin-fry.