-
Notifications
You must be signed in to change notification settings - Fork 125
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
Possible bug in logic code related to mature, hairpin and species setup #414
Comments
I think this should be fixed simply by updating the line mentioned by Lorena:
with something like this:
But we probably would need to update the CI tests as well, and check if there is any other issue that arises from this change |
I think this issue is a little bit bigger scope. This is about how the pipeline setup the variables whether people want to use miRBase files or mirgeneDB, and together with miRTrace. I didn't test it but , I don't think will work well. When I run test_mirgendb config file, mirtop doesn't run, because mirtrace_species is not setup. But it should run, actually mirtrace should be able to run as well, even if people use mirgendb files to quantify. |
The issue was solved in #386 but some improvements in design can be made regarding the use of these databases in the future.
|
Description of the bug
For this PR I realized that I can see there are a few things that will generate problems due to the duality between
params.mirtrace_species
is used for miRTrace.params.mirtrace_species
is re-used for mirtop_quant whenparams.mature
andparams.hairpin
andparams.mirna_gtf
are set upall the
params.mirgendb_*
is used for mirtop_quant when they are set.So the logic should be:
you set up
params.mirgendb_*
orparams.mirna_gtf
,params.mature
,params.hairpin
, not both.you set up
params.mirtrace_species
if you want to use miRTrace or default miRBase files(params.mirna_gtf, params.mature, params.hairpin
)if user set up
params.mirgendb_*
and wants to run miRTrace, thenparams.mirtrace_species
is used with miRTrace andparams.mirgendb_species
is used with miRTop. I don't think this is happening right.Maybe we need a meeting to sort this out?
Command used and terminal output
No response
Relevant files
No response
System information
No response
The text was updated successfully, but these errors were encountered: