这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@DavyCats
Copy link
Contributor

Checklist

  • Pull request details were added to CHANGELOG.md.
  • Documentation was updated (if required).
  • parameter_meta was added/updated (if required).
  • Submodule branches are on develop or a tagged commit.

Copy link
Contributor

@rhpvorderman rhpvorderman 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. I did found some nitpicks.

bcftools.wdl Outdated
String? regions
Boolean splitMultiallelicSites = false

String memory = "64GiB"
Copy link
Contributor

Choose a reason for hiding this comment

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

That seems quite a lot. Does it read everything into memory?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it doesn't need that much, but I needed dnanexus to select a larger VM type with enough scratch space to fit the output file in. I couldn't find a way to do that differently :/ I'll have another look, there should be a better way...

Copy link
Contributor

Choose a reason for hiding this comment

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

There are disk space requirements in WDL I believe. We never used them because disk space is not exactly a problem on our storage. Or is that something for later versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was added in version 1.1, I believe. I did find an example in the dxcompiler docs using the disks runtime attribute, so I've just copied that now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Great!

mkdir -p "$(dirname ~{outputPath})"
bcftools norm \
-o ~{outputPath} \
-O ~{true="z" false="v" compressed} \
Copy link
Contributor

Choose a reason for hiding this comment

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

There is an opportunity here to set it by default to z1:

-O, --output-type u|b|v|z[0-9]  u/b: un/compressed BCF, v/z: un/compressed VCF, 0-9: compression level [v]

That way it is always quite fast.

snpsift.wdl Outdated

command {
set -e
ls ~{vcf} ~{vcfIndex}
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like an old debug command got in the task.

snpeff.wdl Outdated

command {
set -e
ls ~{vcf} ~{vcfIndex}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a debug command?

bcftools.wdl Outdated

command {
set -e
ls ~{inputFile} ~{inputFileIndex}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a debug command?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this is a workaround for dxcompiler. It will only localize files mentioned in the command.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, fun, galaxy has the same issue with pulsar.

Copy link
Contributor

Choose a reason for hiding this comment

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

🤦‍♂️ . There is probably a reason for this design decision? Or is it an oversight? Should we file a bug?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's an issue open for in on their repo, but they claimed that: "WDL spec did not specify (it specifies the WDL syntax rather than the execution environment behavior)". Which is simply not true...

@DavyCats DavyCats merged commit 761f8d1 into develop Jul 17, 2025
1 check passed
@DavyCats DavyCats deleted the snpeff_snpsift branch July 17, 2025 09:18
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.

4 participants