-
Notifications
You must be signed in to change notification settings - Fork 369
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
BuildBamIndex creates index file in the current directory #1827
Comments
Yes, this is probably a regression introduced in Picard #1787. Im transferring this to the Picard repo. |
This was originally reported in GATK, but the issue is in BuildBamIndex. |
@regnveig To work around this for now, I think it will work correctly if you specify the full path of the expected output using |
@cmnbroad thank you for your suggestion! Looking forward to the fixed version! |
will be fixed by #1852 |
Looks like this was fixed by #1852. |
I think there was a lot of confusion around all the PRs related to cloud-enabling. This will be fixed by cloud-enabling BuildBamIndex, but I don't see any evidence that supports that having been done in #1852. |
@cmnbroad Is this intended to be part of #1804 ? If not, would it be a simple matter of updating the input/output paths from |
@kockan Ah, this one has had a bit of a tortured lifecycle. I had a branch that fixes that, but it was abandoned because we didn't have the test infrastructure that we needed to add a test that uses an actual cloud path, so we decided instead to include a fix for this as part of #1804 (and also, IIRC, I did try to add a test that exercised the new code, but on a local file, but I started to notice that the existing test had some issues). But in the meantime, #1804 has grown a bit and now has it's own tortured existence, and this fix isn't in there. So rather than add another tax on #1804 for that, I'll resurrect my branch with the fix, make a draft PR, and then when #1804 goes in we can add the new test. |
Dear colleagues,
I discovered a thing which seems invalid.
BuildBamIndex
creates index file in the current directory, not in the directory which contains bam file. I'm absolutely sure that it behaved as I expected in previous versions.Example:
Expected output:
Observed:
OS: Ubuntu 22.04
GATK version: 4.2.6.1
Environment: miniconda3
Could you check that, please?
The text was updated successfully, but these errors were encountered: