-
Notifications
You must be signed in to change notification settings - Fork 423
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
Append FASTA/FASTQ comment to SAM output [feature request] #136
Comments
Have been thinking about this for a while. As you mentioned, now added. Option -y. Closing via 08bd212. |
Thanks for the quick response, Heng! Here's a more involved idea… do you think minimap2 could chain through alignments of reads in the same barcode, to create an alignment of the full molecule? For CIGAR alignments, perhaps |
That would amount to a 10x mapper, which is distinct from typical short-read mapping. The complication lies in that different genomic regions may be associated with the same barcode. You have to identify these "read cloud" first and then do mapping. Reads in these cloud have no specific order, either. In general, the 10x mapper has room for improvement. One particular problem is that it uses bwa-mem, which is not good at all mappings. Minimap2 has the potential, but it will take significant efforts to implement. I think someone from the Bonnie Berger group has a better mapper. I thought it was on bioRxiv but could not find it. |
Thanks, @mcshane. This is what I was talking about. The first author gave a talk at Broad. I think it is quite good, though I haven't used it personally. |
Yeah, I haven't tried yet either, but it does look interesting. |
Thanks for the pointer to EMerAld (EMA). I'm not familiar with this aligner. I'll check it out. |
Back to I'm writing a pipeline where the FASTQ files may either be in |
I am afraid that you have to do this on your side. |
Okay. Thanks, Heng. If I were to implement this feature, would you accept a pull request? |
Thanks. I will surely consider. Please don't introduce new dependencies, though. |
bwa mem
has the-C
option to append the FASTA/FASTQ comment to SAM output. I use this feature with 10x Genomics Chromium linked reads to output the barcodeBX:Z
tag of each read. I'd find this feature useful forminimap2 -a -xsr
.The text was updated successfully, but these errors were encountered: