You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And then pass that optional value to pysam.AlignmentFile() argument filepath_index?
Motivation: I'm wrapping hapdup and some other steps in a WDL script, and need to pass each file separately (ie, they are localized as individual files, and there is no guarantee they end up in the same directory when hapdup is invoked). The current hapdup assumes the index and bam are in the same directory, and fails.
Hi! I was struggling with WDL recently as well, my "solution" was to reindex inside the WDL task :)
I've added the --bam-index option as requested, and created an updated docker image: mkolmogo/hapdup:0.4-bamindex. Let me know if it works for you - I will include it in the next release.
Could you add an additional command line parameter, allowing the specification of the BAM index location? Eg,
And then pass that optional value to
pysam.AlignmentFile()
argumentfilepath_index
?Motivation: I'm wrapping hapdup and some other steps in a WDL script, and need to pass each file separately (ie, they are localized as individual files, and there is no guarantee they end up in the same directory when hapdup is invoked). The current hapdup assumes the index and bam are in the same directory, and fails.
Thanks!
CC: @0seastar0
The text was updated successfully, but these errors were encountered: