Skip to content
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

10X fastq barcode+index and bam for Trust4 #305

Open
olu2016 opened this issue Sep 2, 2024 · 4 comments
Open

10X fastq barcode+index and bam for Trust4 #305

olu2016 opened this issue Sep 2, 2024 · 4 comments

Comments

@olu2016
Copy link

olu2016 commented Sep 2, 2024

Hi,

I have tcr fastq datasets, and the barcode+umi is 20bp (NCCCAAGGGT+AAAGGTAGTA) instead of the usual 26bp. I wondered if Trust4 could work successfully in this scenario?

Another question is: One of the bam files in the vdj_t folder (from cellranger multi pipeline) is consensus.bam, can Trust4 use this kind of bam file as input?

Thanks

@mourisl
Copy link
Collaborator

mourisl commented Sep 2, 2024

I have tcr fastq datasets, and the barcode+umi is 20bp (NCCCAAGGGT+AAAGGTAGTA) instead of the usual 26bp. I wondered if Trust4 could work successfully in this scenario?

Yes, the format should be fine. You just need to adjust the --readFormat option accordingly.

One of the bam files in the vdj_t folder (from cellranger multi pipeline) is consensus.bam, can Trust4 use this kind of bam file as input?

Is consensus.bam file already the result from cellranger's assembly? While TRUST4 can take it as input, I don't see the need for that. Do you mean you want to reannotate those cellranger's assemblies?

@olu2016
Copy link
Author

olu2016 commented Sep 2, 2024

Thanks for your reply. Yes, I just wanted the reannotation of the assemblies.

@mourisl
Copy link
Collaborator

mourisl commented Sep 2, 2024

It might not be directly supported, as the consensus.bam, is not the alignment to the reference genome, so the chromosome IDs will cause some issues. You may need to convert the BAM file to fastq file first.

@olu2016
Copy link
Author

olu2016 commented Sep 11, 2024

Thanks a lot. I used the raw data in fastq format and the 26 bp (barcode+format) format and my Trust4 run was successful. The 20 bp format that I earlier indicated was wrong.

Have a good day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants