-
Notifications
You must be signed in to change notification settings - Fork 34
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
Allow only high confidence filtering when reading Cell Ranger output #382
Comments
Hi @ktpolanski, can't you achieve this by using |
I did not spot that column in $ grep "TTTGTCATCAGAAATG-1" all_contig_annotations.csv | cut -f 1-4 -d ,
TTTGTCATCAGAAATG-1,false,TTTGTCATCAGAAATG-1_contig_1,false
TTTGTCATCAGAAATG-1,false,TTTGTCATCAGAAATG-1_contig_2,false
TTTGTCATCAGAAATG-1,false,TTTGTCATCAGAAATG-1_contig_3,true Attempting to read the file with
|
I see, so I had wrong assumptions about the I am working on a new datastructure for scirpy (#327 / #356). This will make it easier to read in all chains and use custom filtering strategies (e.g. keep non-productive chains etc). |
Sure, so hopefully this works itself nicely into that. Thanks! |
By the way, I took this as an excuse to acquaint myself a little more with awk 'BEGIN {IGNORECASE=1; FS=","}; NR==1 {print}; $4=="true" {print}' all_contig_annotations.csv > hiconf.csv This can then be read in via |
Hi @ktpolanski, I implemented a solution using the new data structure which is now available from the latest development version. Would be glad if you could test it!
I hope it is clear how this works. Let me know if not or if you have any suggestions! Additionally, I was wondering if in the |
Description of feature
There are situations when it's desirable to forego Cell Ranger's cell calling, and the VDJ equivalent of that is to go back to
all_contig_annotations
and subset accordingly. Scirpy supports ingesting the file, but its subsequent filtering option enforces bothis_cell
andhigh_confidence
. It would be convenient to be able to look at justhigh_confidence
, leaving any errant empty droplets to get filtered out when callingpp.merge_with_ir()
later.The text was updated successfully, but these errors were encountered: