modules icon indicating copy to clipboard operation
modules copied to clipboard

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

Open vsmalladi opened this issue 3 years ago • 12 comments

PR checklist

Closes #627

  • [x] 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

vsmalladi avatar Aug 22 '22 19:08 vsmalladi

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

drpatelh avatar Aug 22 '22 19:08 drpatelh

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

vsmalladi avatar Aug 22 '22 20:08 vsmalladi

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?

drpatelh avatar Sep 15 '22 09:09 drpatelh

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

vsmalladi avatar Sep 19 '22 15:09 vsmalladi

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

drpatelh avatar Sep 19 '22 17:09 drpatelh

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.

vsmalladi avatar Sep 19 '22 20:09 vsmalladi

Does type: dir help?

adamrtalbot avatar Sep 26 '22 09:09 adamrtalbot

@adamrtalbot can you take a look?

vsmalladi avatar Mar 18 '24 15:03 vsmalladi

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?

adamrtalbot avatar Mar 18 '24 15:03 adamrtalbot

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

vsmalladi avatar Mar 18 '24 16:03 vsmalladi

Closing this until someone flags it as an issue again.

SPPearce avatar May 07 '24 16:05 SPPearce

Someone flagged the index publishing here: https://github.com/nf-core/sarek/issues/1905

FriederikeHanssen avatar May 29 '25 07:05 FriederikeHanssen