-
Notifications
You must be signed in to change notification settings - Fork 309
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
Missing SAM header when using pipe API #2322
Comments
Hello @hxdhan, I created this separate issue to track your comment linked above. Have you tried https://github.com/bigdatagenomics/cannoli to call STAR instead of using the pipe API directly?
|
Hello, |
@heuermh ` private case class SAMIteratorConverter(val reader: SamReader) extends Iterator[Alignment] { val iter = reader.iterator() // make converter and empty dicts def hasNext: Boolean = { def next: Alignment = { |
The header section of the SAM file written by Cannoli is written by Cannoli, not by Bowtie2, so it is not necessary that it looks exactly the same. What is incomplete? |
the cannoli STAR Just call adam pipe api . so the result is same. |
ADAM and Cannoli by extension do write out valid SAM format headers. Interleaved FASTQ format includes no metadata, so if you need additional metadata in the SAM format header from For example
With fragments from interleaved FASTQ format only
With fragments from interleaved FASTQ and read groups
With fragments from interleaved FASTQ, read groups, and references
Alternatively, you can start from unaligned BAM/CRAM/SAM format or preferably Hope this helps! |
I try to use hs37d5.dict for meta data . but I found it is not as same as meta data generated by STAR. |
RIght, you have to use the same reference as provided to STAR. If you need to generate a
or dsh-bio
|
Closing as Invalid, please feel to reopen if necessary |
Created to track separate issue in #2321, see comment
#2321 (comment)
The text was updated successfully, but these errors were encountered: