-
Notifications
You must be signed in to change notification settings - Fork 736
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 sylph/profile module #7118
base: master
Are you sure you want to change the base?
Add sylph/profile module #7118
Conversation
description: | | ||
List of input FastQ/FASTA files of size 1 and 2 for single-end and paired-end data, | ||
respectively. They are automatically sketched to .sylsp/.syldb | ||
- - pre_sketched_files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This says a Presketched db, but your test input supplies a fasta file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation says:
Pre-sketched *.syldb/*.sylsp files. Raw single-end fastq/fasta are allowed and will be automatically sketched to .sylsp/.syldb.
That is why I supplied a fasta file. Updated the meta.yml
file with this info too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested to be a bit more specific about the created csv :)
"versions.yml:md5,7b5a545483277cc0ff9189f8891e737f" | ||
], | ||
[ | ||
false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it expected that the contains check always leads to the string not being contained?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The string should be contained. Looking into it.
{ assert process.success }, | ||
{ assert snapshot( | ||
process.out.versions, | ||
process.out.profile_out.collect { file(it[1]).readLines().contains("complete genome") }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAybe you can assert the file a bit better using: https://github.com/lukfor/nft-csv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean to count the columns of the output file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anything that makes sense - counting columns or asserting column header both seems fine to me
@sofstam , do you need a hand to get this finished off? |
@SPPearce Was on holidays, looking at the comments now :) |
Co-authored-by: Famke Bäuerle <[email protected]>
Co-authored-by: Famke Bäuerle <[email protected]>
Co-authored-by: Famke Bäuerle <[email protected]>
Co-authored-by: Famke Bäuerle <[email protected]>
PR checklist
Moves the local module
sylph/profile
to nf-core modules. Closes nf-core/seqinspector#65Removes unnecessary pattern from
sylph/sketch
meta file.versions.yml
file.label
nf-core modules test <MODULE> --profile docker
nf-core modules test <MODULE> --profile singularity
nf-core modules test <MODULE> --profile conda
nf-core subworkflows test <SUBWORKFLOW> --profile docker
nf-core subworkflows test <SUBWORKFLOW> --profile singularity
nf-core subworkflows test <SUBWORKFLOW> --profile conda