-
Notifications
You must be signed in to change notification settings - Fork 51
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
comprehensive list of contigs per barcode in 10X mode? #165
Comments
The extra chains in a barcode will be in the last two columns of the TRUST4_barcoderep.tsv file. If you want to "promote" the other chains information in the primary field, you can also run the "barcoderep-expand.py" script in the "script" folder. This script only focuses on one of the chain. This thread #141 might also be helpful. |
Thank you for the insight. Sorry for the sluggish response, as it turned out the data hadn't yet arrived at the time. The data is imminent now, so I took the FASTQs of a TRAB sample for a spin with TRUST4 to get familiar with the tool and its various postprocessing. I was able to arrive at a 10X-like syntax that will easily go into downstream tools, so thanks a lot for that. However, I have a couple of follow-up questions:
Thank you very much, and sorry for the trouble. |
|
Thanks for your lightning-fast reply, like always!
|
Alright, I modified The workflow I'm performing to get 10X-like output with one "cell" per chain: /mnt/TRUST4/run-trust4 -t 25 -f /mnt/TRUST4/hg38_bcrtcr.fa --ref /mnt/TRUST4/human_IMGT+C.fa -u R2.fastq.gz --barcode R1.fastq.gz --barcodeRange 0 15 + --UMI R1.fastq.gz --umiRange 16 27 + --barcodeWhitelist ~/cellranger/spaceranger-1.1.0/lib/python/cellranger/barcodes/visium-v1.txt
python3 barcoderep-allchains.py -b TRUST_R2_barcode_report.tsv > TRUST_R2_barcode_report_allchains.tsv
/mnt/TRUST4/scripts/trust-barcoderep-to-10X.pl TRUST_R2_barcode_report_allchains.tsv 10x-allchains |
Sorry I missed your message last week. Glad you found a way to make it work and share your workflow. I'll make this an option in the trust-expand script later. |
Hello,
I came across this protocol, which describes how to get VDJ from Visium. TRUST4 seems pretty well equipped to process this data due to similar R1 structure to regular 10X. However, one thing I'd imagine being an issue is that Visium spots are small bulks rather than single cells, and as such it seems likely that there'd be a mix of various contigs at the spots. Meanwhile the documentation specifies that TRUST4 reports the top two contigs per barcode.
How hard would it be to potentially report all the contigs per barcode instead? Thanks and sorry for the trouble.
The text was updated successfully, but these errors were encountered: