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

Dysgy==1.6.4 #6630

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Dysgy==1.6.4 #6630

wants to merge 14 commits into from

Conversation

poddarharsh15
Copy link
Contributor

PR checklist

Closes #XXX

  • 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 September 12, 2024 10:13
@poddarharsh15 poddarharsh15 requested review from mashehu and removed request for a team September 12, 2024 10:13
Copy link
Contributor

@nvnieuwk nvnieuwk left a comment

Choose a reason for hiding this comment

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

Very good! Only one comment :)

assertAll(
{ assert process.success },
{ assert snapshot(process.out.versions).match() },
{ assert path(process.out.vcf.get(0).get(1)).linesGzip.contains("##fileformat=VCFv4.2") }
Copy link
Contributor

Choose a reason for hiding this comment

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

Are the variants also unstable? You could test them using the nft-vcf plugin which is already enabled in this repository

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @nvnieuwk,
Thank you for your comments. I apologize, but I didn't fully understand what you meant by "unstable variants."

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry I wasn't clear I meant the variant lines in the VCF. Are they exactly the same if you rerun the tool or do they differ too? (Unstable files are usually caused by timestamps in the header)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The output generated from the nf-core/sarek pipeline is identical to the output produced by running the Dysgu pipeline independently. For reference, I have attached some example screenshots below to illustrate the similarities.
PS: I still need to do some changes in the modules of dysgu that I haven't made yet but in theory it is working fine for now.

Screenshot from 2024-09-26 10-06-30

Screenshot from 2024-09-26 10-08-20

Copy link
Contributor

Choose a reason for hiding this comment

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

Aha that command INFO line is probably the reason for the unstable md5sum. Can you test the variants MD5 instead? See here on how to do this: https://github.com/seppinho/nft-vcf?tab=readme-ov-file#variantsmd5

Copy link
Contributor Author

Choose a reason for hiding this comment

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

seems like I need to use

Aha that command INFO line is probably the reason for the unstable md5sum. Can you test the variants MD5 instead? See here on how to do this: https://github.com/seppinho/nft-vcf?tab=readme-ov-file#variantsmd5

hi @nvnieuwk sorry for silly question but by adding below command line in the nf-test.config will this work, please let me know.

config {
  plugins {
    load "[email protected]"
  }
}

something like this??

config {
    testsDir "."
    workDir ".nf-test"
    configFile "conf/test.config"
    profile "test"
    plugins {
      load "[email protected]"
  }
}

Copy link
Contributor

Choose a reason for hiding this comment

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

nft-vcf is already enabled in this repository so you shouldn't have to do this

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.

2 participants