-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error in GERP analysis #97
Comments
Hi Julius! This part of the pipeline is written in a way so that Snakemake only checks for the presence of the directories holding the files that are produced by the different rules, i.e. Snakemake itself is aware of the folder |
Thanks, I think that worked, or at least I no longer have that error. Sadly, I still can'tant get the GERP analysis to work. My new error is in "group_CpG_genotype_bed_formatting_group" this is the error part of the slurm log. `Error in rule merge_CpG_genotype_beds:
` And the ref_Hirundo_rustica_merge_CpG_genotype_beds.log says: I have tried rerunning the pipeline several times and deleted results to get it to rerun stuff but to no avail. I moved the pipeline to PDC/Darde, and I am trying to continue running the gerp part from there. Could this be a problem? I got the conda environment working in my Dardel project directory. |
Hi Julius, thanks for reaching out again! I can see that there is a bug in the code. I'll fix it as soon as possible and will let you know when the code is updated! |
Thank you very much; now that I know it is a bug, I will stop trying to fix it in vain. |
Hi @JuliusFalck ! I had another look at the code and I think the error happens somewhere else in the code or in the configuration of the pipeline. Can you send me this part of your config file?
|
Hi @verku, here is that part of the config file, tell me if there is anything else you need.
|
Thank you! I'm looking for a reason why your Snakemake run did not assign anything as input to the rule "merge_CpG_genotype_beds" but this part of the config file looks good. Could you send me the entire config file, just to be sure that the rest is correct? You should be able to share the file here in the Github issue. |
Here is the config file I had to change it to txt to share it. |
Hi! Thank you for sharing, the config file looks good! I think that somehow the input files for this rule are missing, maybe when moving the data over to Dardel. Can you check if these files are present?
These files should have been created by the rule I found one little typo in your config file that should not affect any of these issues: the path to the sex chromosome file should be |
Yes, currently, I do not have dose results files. What do I need to do to remake them? Do I have to remove files in the reference directory to get GenErode to make them, or just run the whole pipeline again? |
Yes, exactly! When you restart the pipeline next time, Snakemake will run the rule again because it will check for the presence of these files. Good luck! |
I am having trouble getting the GERP part of the pipeline to work. I get this error: a fasta file is missing for one chunk of one of the outgroup species.
This is the Error in the main log:
Error in rule concatenate_fasta_per_contig:
results/logs/13_GERP/genome_chunks/ref_Hirundo_rustica/fasta/chunk38_concatenate_fasta_per_contig.log:
cat: results/gerp/genome_chunks/ref_Hirundo_rustica/fasta/Lagopus_muta_chunk38/Lagopus_muta_NC_053487.1.fasta: No such file or directory
It looks like all the other Fasta chunks have been created except for this one.
My understanding is that the rule bam2fasta should produce the missing file. However, there is no error in that rule log. The only difference with other bam2fasta logs is that the other logs have this line:
[mpileup] 1 samples in 1 input files
right after: Activating singularity image...
But the log for Lagopus_muta chunk38 does not have that line.
Any suggestions for things to try would be very appreciated.
The text was updated successfully, but these errors were encountered: