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

dysgu_updated #5817

Closed
wants to merge 72 commits into from
Closed

dysgu_updated #5817

wants to merge 72 commits into from

Conversation

poddarharsh15
Copy link
Contributor

@poddarharsh15 poddarharsh15 commented Jun 17, 2024

PR checklist

Closes #5784

  • 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:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@poddarharsh15 poddarharsh15 requested a review from a team as a code owner June 17, 2024 13:27
@poddarharsh15 poddarharsh15 requested review from CarsonJM and removed request for a team June 17, 2024 13:27
@poddarharsh15
Copy link
Contributor Author

@famosab I have updated main.nf and meta.yml files for dysgu module please have a look, Thanks :)

Copy link
Contributor

@famosab famosab left a comment

Choose a reason for hiding this comment

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

Looks god :) I added a few comments and questions. Next step is implementing the tests.

modules/nf-core/dysgu/main.nf Outdated Show resolved Hide resolved
modules/nf-core/dysgu/main.nf Outdated Show resolved Hide resolved
modules/nf-core/dysgu/main.nf Outdated Show resolved Hide resolved
modules/nf-core/dysgu/meta.yml Outdated Show resolved Hide resolved
modules/nf-core/dysgu/meta.yml Outdated Show resolved Hide resolved
modules/nf-core/dysgu/meta.yml Outdated Show resolved Hide resolved
modules/nf-core/dysgu/tests/main.nf.test Show resolved Hide resolved
modules/nf-core/dysgu/main.nf Show resolved Hide resolved
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
poddarharsh15 and others added 4 commits June 17, 2024 16:48
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
@famosab
Copy link
Contributor

famosab commented Jun 18, 2024

I added some suggestions to include also gzipped files and also emit the index to the gzipped vcf (I think that is best practise). Maybe you can apply those changes and also run prettier on the code so that the tests might run.

poddarharsh15 and others added 5 commits June 18, 2024 13:47
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
@poddarharsh15
Copy link
Contributor Author

Great, thanks I will accept all the commits and run prettier asap :)

@poddarharsh15
Copy link
Contributor Author

I added some suggestions to include also gzipped files and also emit the index to the gzipped vcf (I think that is best practise). Maybe you can apply those changes and also run prettier on the code so that the tests might run.

Hi @famosab I tried to run prettier tests on github but it's emitting several errors, do I need to install prettier --check on my workstation to solve the errors?

@famosab
Copy link
Contributor

famosab commented Jun 19, 2024

I added some suggestions to include also gzipped files and also emit the index to the gzipped vcf (I think that is best practise). Maybe you can apply those changes and also run prettier on the code so that the tests might run.

Hi @famosab I tried to run prettier tests on github but it's emitting several errors, do I need to install prettier --check on my workstation to solve the errors?

You will need to use prettier to format your code on your machine and then push the changes. Other approaches did not work for me for some reason:

conda install prettier

Once installed, you can run prettier manually:

prettier -w .

This will overwrite files with formatting fixes To just check without auto-fixing, use prettier -c .

@poddarharsh15
Copy link
Contributor Author

I added some suggestions to include also gzipped files and also emit the index to the gzipped vcf (I think that is best practise). Maybe you can apply those changes and also run prettier on the code so that the tests might run.

Hi @famosab I tried to run prettier tests on github but it's emitting several errors, do I need to install prettier --check on my workstation to solve the errors?

You will need to use prettier to format your code on your machine and then push the changes. Other approaches did not work for me for some reason:

conda install prettier

Once installed, you can run prettier manually:

prettier -w .

This will overwrite files with formatting fixes To just check without auto-fixing, use prettier -c .

Okay, I will do that. One more concern: is it necessary to finish the main.nf.test before running prettier --check?
Thank you very much.

Copy link
Contributor

@famosab famosab left a comment

Choose a reason for hiding this comment

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

Update versions

modules/nf-core/dysgu/main.nf Outdated Show resolved Hide resolved
modules/nf-core/dysgu/environment.yml Outdated Show resolved Hide resolved
poddarharsh15 and others added 5 commits July 3, 2024 12:55
dysgu update

Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Pip update

Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
poddarharsh15 and others added 6 commits July 5, 2024 11:49
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Co-authored-by: Famke Bäuerle <45968370+famosab@users.noreply.github.com>
Copy link
Member

Choose a reason for hiding this comment

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

I don't think you should delete this file

Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this being deleted?

Copy link
Member

Choose a reason for hiding this comment

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

I made this comment too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know why this was happening I didn't delete that file maybe I made some mistake

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why is this being deleted?

Should I add it again manually?

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this file not be here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry I didn't understand why manta?

Copy link
Contributor

Choose a reason for hiding this comment

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

how did this file get in here :D just remove it from the PR I'd say

'community.wave.seqera.io/library/dysgu:faf71ac972284412' }"

input:
tuple val(meta), path(input_bam), path(input_bam_index)
Copy link
Contributor

Choose a reason for hiding this comment

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

The tool takes cram files too, given your test, so maybe call this something more generic? Can't recall off the top of my head what we typically use to mean bam/cram.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

checked main.nf of manta instead of input_bam here it's described just input
will this work?

input:
  
   tuple val(meta), path(input), path(index), path(target_bed), path(target_bed_tbi)
   tuple val(meta2), path(fasta)
   tuple val(meta3), path(fai)
   path(config)

Copy link
Contributor

Choose a reason for hiding this comment

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

input and index sounds fine.

Copy link
Contributor

Choose a reason for hiding this comment

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

change it and update in the meta accordingly

poddarharsh15 and others added 2 commits July 5, 2024 14:40
Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
@famosab
Copy link
Contributor

famosab commented Jul 8, 2024

@poddarharsh15 maybe it makes sense to start another clean PR where no files are changed that should not be, you could just create a branch in your repo, implemented the changes we actually want and then open the PR

@poddarharsh15
Copy link
Contributor Author

@poddarharsh15 maybe it makes sense to start another clean PR where no files are changed that should not be, you could just create a branch in your repo, implemented the changes we actually want and then open the PR

@famosab Sure, that makes sense. I'll create a new branch in my repo, implement the necessary changes, and then open a clean PR.[additionally, I will add run add call submodules], thanks for the update I will get back to you asap :)

@famosab famosab closed this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new module: dysgu=v1.6.4
5 participants