-
Notifications
You must be signed in to change notification settings - Fork 1
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
compatability of minimap2 #1
Comments
Hi Thanks for reporting this issue. I should first note that we strongly recommend pbmm2 for all sawfish analysis, as discussed in a bit more detail here: https://github.com/PacificBiosciences/sawfish/blob/main/docs/user_guide.md#read-mapper It may be possible to use minimap2 with the appropriate flags to prevent hard-clipping but this is untested/unsupported. The good news for this specific issue with the rq tag is we've just released an update (0.12.2) yesterday to relax this requirement, so a version update should take care of this specific error. |
I am also experiencing the same error while using this bam file: https://s3-us-west-2.amazonaws.com/human-pangenomics/working/HPRC_PLUS/HG002/analysis/aligned_reads/hifi/GRCh38/HG002_aligned_GRCh38_winnowmap.sorted.bam. |
I just runned version 0.12.2, but get new errors: Below is the full running log:
|
Thanks @zengxi-hada, I will take a note to make a more clear error message. The error indicates that your input bam uses hard-clipping for split reads, which sawfish doesn't support at this time. As enumerated above, we support and test the SV caller for pbmm2 only. It may be possible to get the analysis working with minimap, but at minimum you would need to change the settings to prevent hard-clipping of split reads, and even for that case minimap is not tested so there may be additional complications, I would recommend using pbmm2, some discussion on this in the user guide can be found here: https://github.com/PacificBiosciences/sawfish/blob/main/docs/user_guide.md#read-mapper |
Closing the original issues as answered, tracking msg improvement in #2. |
Hi there,
Thanks for developing this tool!
I was trying to run minimap2-aligned BAM files with Sawfish and encountered an error saying 'no rq tag'. I checked PacBio's doc and found it is the tag describing the read expected accuracy.
I am wondering if I can run a minimap2-aligned BAM file on Sawfish, like adding specific parameter, etc.
Thank you!
Ryan
Error log file:
codes for minimap2 mapping:
$minimap -Y -ax map-hifi -R "@RG\tSM:${INFOR}\tID:${RG_ID}" $ref38 $FASTQ_FILE --MD -t 8
The text was updated successfully, but these errors were encountered: