Skip to content
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

Add in path to all files in index directory to copy on Azure correctly. #1964

Closed
wants to merge 4 commits into from

Conversation

vsmalladi
Copy link
Contributor

@vsmalladi vsmalladi commented Aug 22, 2022

PR checklist

Closes #627

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • PROFILE=docker pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware
    • PROFILE=singularity pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware
    • PROFILE=conda pytest --tag <MODULE> --symlink --keep-workflow-wd --git-aware

@drpatelh
Copy link
Member

Yo! Why doesn't the current behaviour of copying a directory work here? This would have been tested already on Azure?

@vsmalladi
Copy link
Contributor Author

vsmalladi commented Aug 22, 2022

Never tested making the bwa index and saving them. I had just upload the index files already or just made them for the test.

@drpatelh
Copy link
Member

Merging this in will need some thought because this will change the way we are dealing with indices in pipelines quite a bit and how they are defined by users. What error do you see when using the current behaviour on Azure?

@vsmalladi
Copy link
Contributor Author

The error is that nextflow can't find the file to copy over.

@drpatelh
Copy link
Member

But it should just be a directory no? This should then affect any directory defined as output on Azure?

@vsmalladi
Copy link
Contributor Author

That would be my assumption, but i wonder if its just the way the directory contents are referred to. If you add directory/*
vs just directory. I think this will require some more investigation.

@adamrtalbot
Copy link
Contributor

Does type: dir help?

Copy link

@JakobBerg JakobBerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@vsmalladi vsmalladi requested a review from maxulysse as a code owner March 18, 2024 14:39
@vsmalladi
Copy link
Contributor Author

@adamrtalbot can you take a look?

@adamrtalbot
Copy link
Contributor

I'm still a bit confused, what happens? I've been using BWA on Azure quite a bit and never seen this error, could you provide some steps to reproduce it?

@vsmalladi
Copy link
Contributor Author

@adamrtalbot might not be an issue anymore. Maybe we can hold off until it becomes an issue again.

@SPPearce
Copy link
Contributor

SPPearce commented May 7, 2024

Closing this until someone flags it as an issue again.

@SPPearce SPPearce closed this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] bwa index not work correctly
7 participants