-
Notifications
You must be signed in to change notification settings - Fork 859
Gemma kinshipmatrix #8468
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
base: master
Are you sure you want to change the base?
Gemma kinshipmatrix #8468
Conversation
Co-authored-by: Matthias Hörtenhuber <[email protected]>
It now works with docker and singularity, so think good to go except,, the input test data is on another github repo,,,, is this ok?? |
Not sure how to fix the remaining errors. |
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.
I think we do not want to introduce changes to this files with a new module PR :)
tuple val(meta2), path(phenotype) | ||
|
||
output: | ||
tuple val(meta), path("output/${meta.id}.out.cXX.txt"), emit: matrix |
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.
Can you move the output?
-p $phenotype \\ | ||
-gk \\ | ||
-o ${meta.id}.out | ||
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.
mv output/${prefix}.out.cXX.txt ${prefix}.out.cXX.txt |
tuple val(meta2), path(phenotype) | ||
|
||
output: | ||
tuple val(meta), path("output/${meta.id}.out.cXX.txt"), emit: matrix |
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.
tuple val(meta), path("output/${meta.id}.out.cXX.txt"), emit: matrix | |
tuple val(meta), path("*.out.cXX.txt"), emit: matrix |
mkdir output | ||
touch output/${meta.id}.out.cXX.txt |
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.
mkdir output | |
touch output/${meta.id}.out.cXX.txt | |
touch ${prefix}.out.cXX.txt |
file( "https://raw.githubusercontent.com/genetics-statistics/GEMMA/master/example/mouse_hs1940.geno.txt.gz", checkIfExists: true) | ||
|
||
] | ||
input[1] = [ | ||
[ id:'test', single_end:false ], // meta map | ||
file( "https://raw.githubusercontent.com/genetics-statistics/GEMMA/master/example/mouse_hs1940.pheno.txt", checkIfExists: true), |
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.
Can you bring those to the test-datasets repository? Or check if there is suitable test-data over there?
PR checklist
Closes #8463 #8463
This module does the kinship matrix part of gemma.
I cannot get docker to work even though there is a biocontainer, and have not tested with singularity.
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