-
Notifications
You must be signed in to change notification settings - Fork 45
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
WARNING: Could not find a final dir among #348
Comments
In fact, when I check the directory, the config.yaml and input.fofn are here. |
You're right. That warning happens on a dry-run. I guess it shouldn't. Not a bug though. |
Hello, |
The error is following: INFO: /home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa local --nthreads 4 --njobs 20 --run-dir BOpb --tmp-dir BO -i input.fofn --verbose --resume
INFO: ipa.py ipa (wrapper) version=1.3.1 ... Checking dependencies ...
INFO: Dependencies
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/python3
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa2-task
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/falconc
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/minimap2
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/nighthawk
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/pancake
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/pblayout
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/pbmm2
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/racon
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/samtools
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa_purge_dups
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa_purge_dups_split_fa
snakemake version=5.9.1
ipa2-task 1.0.2 (commit 038eb47eb869b3ea55bfbd83a8b4f78873a2c437)
Machine name: 'Linux'
falconc version=1.10.3+git., nim-version=1.2.4
minimap2 version=2.17-r941
Nighthawk 0.1.0 (commit a3ede16*)
pancake 0.2.0 (commit 2a70d3e*)
pblayout 0.1.1 (commit 137e0ad*)
pbmm2 1.4.0 (commit 1.4.0)
racon version=v1.4.13
samtools 1.10
Using htslib 1.10.2
ipa_purge_dups Version: 1.2.3
ERROR: Command '/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/python3 -m snakemake -j 20 -d BOpb -p -s /home/AAFC-AAC/fuf/miniconda3/envs/ipa/etc/ipa.snakefile --configfile BOpb/config.yaml --reason' returned non-zero exit status 1.
Exiting. Thanks, |
That's not enough information for debugging. You'll have to look for a log-file, look at the run-dir |
Hello Christopher, INFO: /home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa local --nthreads 4 --njobs 20 --run-dir BOpb --tmp-dir BO -i input.fofn --verbose --resume ERROR: Command '/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/python3 -m snakemake -j 20 -d BOpb -p -s /home/AAFC-AAC/fuf/miniconda3/envs/ipa/etc/ipa.snakefile --configfile BOpb/config.yaml --reason' returned non-zero exit status 1. |
Hello Christopher, |
Hello Christopher, I do not know it is my system problem or the code bug. Because the code works well if I directly run in my cluster. If I submitted by qsub, I met this problem. conda activate ipa ipa local -i input.fofn --run-dir BOpb --nthreads 20 --njobs 4 --resume |
Hej, Most likely "time" is not installed on your cluster. Cheers, |
Hello Iggy, |
Hi, This command is presented and working well. |
I run
error message basically after every stage. Executing the same command with |
@sunnycqcn , I think we've addressed the problems with UNIX @ctxchris , you might have an old version of snakemake. |
I have the same problem with the docker image Error in rule build_db:
no 02-build_db directory created . |
Hello Developers,
I am running ipa using corrected data. I met the errors as follows. I tried to fix based on the issues. I still can not figure out it.
INFO: /home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa local --nthreads 80 --njobs 1 --run-dir BOpb --tmp-dir BO -i /isilon/saskatoon-rdc/users/fuf/BnGenome/genome/polishedgenome/BO.correctedReads.fasta --dry-run --verbose --resume
INFO: ipa.py ipa (wrapper) version=1.3.1 ... Checking dependencies ...
INFO: Dependencies
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/python3
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa2-task
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/falconc
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/minimap2
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/nighthawk
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/pancake
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/pblayout
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/pbmm2
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/racon
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/samtools
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa_purge_dups
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/ipa_purge_dups_split_fa
snakemake version=5.9.1
ipa2-task 1.0.2 (commit 038eb47eb869b3ea55bfbd83a8b4f78873a2c437)
Machine name: 'Linux'
falconc version=1.10.3+git., nim-version=1.2.4
minimap2 version=2.17-r941
Nighthawk 0.1.0 (commit a3ede16*)
pancake 0.2.0 (commit 2a70d3e*)
pblayout 0.1.1 (commit 137e0ad*)
pbmm2 1.4.0 (commit 1.4.0)
racon version=v1.4.13
samtools 1.10
Using htslib 1.10.2
ipa_purge_dups Version: 1.2.3
WARNING: Could not find a final dir among ['config.yaml', 'assembly-results', '.snakemake', 'input.fofn', 'qsub_log', 'ipa.log']. Not symlinking assembly-results directory.
Wrote "BOpb/config.yaml".
advanced_options: ''
coverage: 0
genome_size: 0
m4filt_high_copy_sample_rate: 1.0
max_nchunks: 40
nproc: 80
phase_run: 1
polish_run: 1
purge_dups_calcuts: ''
purge_dups_run: 1
reads_fn: BOpb/input.fofn
tmp_dir: BO
To run this yourself:
/home/AAFC-AAC/fuf/miniconda3/envs/ipa/bin/python3 -m snakemake --dryrun -j 1 -d BOpb -p -s /home/AAFC-AAC/fuf/miniconda3/envs/ipa/etc/ipa.snakefile --configfile BOpb/config.yaml --reason
Starting snakemake --dryrun ...
CWD:/isilon/saskatoon-rdc/users/fuf/BnGenome/genome/rawgenome/BO/BOpb
NPROC:80
NPROC_SERIAL:80
config:{'advanced_options': '', 'coverage': 0, 'genome_size': 0, 'm4filt_high_copy_sample_rate': 1.0, 'max_nchunks': 40, 'nproc': 80, 'phase_run': 1, 'polish_run': 1, 'purge_dups_calcuts': '', 'purge_dups_run': 1, 'reads_fn': 'BOpb/input.fofn', 'tmp_dir': 'BO'}
Building DAG of jobs...
Job counts:
count jobs
1 assemble
1 build_db
1 final
1 finish
1 generate_config
1 ovl_asym_merge
1 ovl_asym_prepare
1 ovl_filter
1 phasing_merge
1 phasing_prepare
1 polish_merge
1 polish_prepare
1 purge_dups_map_merge
1 purge_dups_map_prepare
1 purge_dups_paf
1 separate_p_from_a
16
[Thu Oct 22 22:16:31 2020]
localrule generate_config:
input: /isilon/saskatoon-rdc/users/fuf/BnGenome/genome/rawgenome/BO/BOpb/input.fofn
output: 01-generate_config/generated.config
jobid: 5
reason: Missing output files: 01-generate_config/generated.config
[Thu Oct 22 22:16:31 2020]
rule build_db:
input: /isilon/saskatoon-rdc/users/fuf/BnGenome/genome/rawgenome/BO/BOpb/input.fofn, 01-generate_config/generated.config
output: 02-build_db/reads.seqdb, 02-build_db/reads.seeddb, 02-build_db/reads.seqdb.0.seq, 02-build_db/reads.seeddb.0.seeds, 02-build_db/input.fofn
jobid: 9
reason: Missing output files: 02-build_db/reads.seqdb; Input files updated by another job: 01-generate_config/generated.config
[Thu Oct 22 22:16:31 2020]
localcheckpoint ovl_asym_prepare:
input: 02-build_db/reads.seqdb
output: 03-ovl_asym_prepare/shards
jobid: 15
reason: Missing output files: 03-ovl_asym_prepare/shards; Input files updated by another job: 02-build_db/reads.seqdb
Downstream jobs will be updated after completion.
[Thu Oct 22 22:16:31 2020]
rule ovl_asym_merge:
input: , 01-generate_config/generated.config
output: 05-ovl_asym_merge/ovl.merged.m4, 05-ovl_asym_merge/ovl.nonlocal.m4
jobid: 13
reason: Missing output files: 05-ovl_asym_merge/ovl.nonlocal.m4; Input files updated by another job: 01-generate_config/generated.config, 03-ovl_asym_prepare/shards
[Thu Oct 22 22:16:31 2020]
checkpoint phasing_prepare:
input: 02-build_db/reads.seqdb, 05-ovl_asym_merge/ovl.nonlocal.m4, 01-generate_config/generated.config
output: 06-phasing_prepare/shards
jobid: 14
reason: Missing output files: 06-phasing_prepare/shards; Input files updated by another job: 01-generate_config/generated.config, 05-ovl_asym_merge/ovl.nonlocal.m4, 02-build_db/reads.seqdb
Downstream jobs will be updated after completion.
[Thu Oct 22 22:16:31 2020]
rule phasing_merge:
input: 05-ovl_asym_merge/ovl.nonlocal.m4, , 01-generate_config/generated.config
output: 08-phasing_merge/ovl.phased.m4
jobid: 12
reason: Missing output files: 08-phasing_merge/ovl.phased.m4; Input files updated by another job: 01-generate_config/generated.config, 05-ovl_asym_merge/ovl.nonlocal.m4, 06-phasing_prepare/shards
[Thu Oct 22 22:16:31 2020]
rule ovl_filter:
input: 08-phasing_merge/ovl.phased.m4, 01-generate_config/generated.config
output: 09-ovl_filter/ovl.final.m4, 09-ovl_filter/ovl.chimerfilt.m4
jobid: 11
reason: Missing output files: 09-ovl_filter/ovl.final.m4; Input files updated by another job: 01-generate_config/generated.config, 08-phasing_merge/ovl.phased.m4
[Thu Oct 22 22:16:31 2020]
rule assemble:
input: /isilon/saskatoon-rdc/users/fuf/BnGenome/genome/rawgenome/BO/BOpb/input.fofn, 02-build_db/reads.seqdb, 09-ovl_filter/ovl.final.m4, 08-phasing_merge/ovl.phased.m4, 01-generate_config/generated.config
output: 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta, 10-assemble/p_ctg_tiling_path, 10-assemble/a_ctg_tiling_path, 10-assemble/p_ctg.fasta.fai, 10-assemble/a_ctg.fasta.fai, 10-assemble/read_to_contig.csv, 10-assemble/circular_contigs.csv
jobid: 8
reason: Missing output files: 10-assemble/p_ctg.fasta.fai, 10-assemble/read_to_contig.csv, 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta, 10-assemble/a_ctg.fasta.fai; Input files updated by another job: 01-generate_config/generated.config, 09-ovl_filter/ovl.final.m4, 02-build_db/reads.seqdb, 08-phasing_merge/ovl.phased.m4
[Thu Oct 22 22:16:31 2020]
checkpoint polish_prepare:
input: 10-assemble/read_to_contig.csv, 01-generate_config/generated.config, 10-assemble/p_ctg.fasta.fai, 10-assemble/a_ctg.fasta.fai
output: 11-polish_prepare/shards
jobid: 10
reason: Missing output files: 11-polish_prepare/shards; Input files updated by another job: 01-generate_config/generated.config, 10-assemble/p_ctg.fasta.fai, 10-assemble/read_to_contig.csv, 10-assemble/a_ctg.fasta.fai
Downstream jobs will be updated after completion.
[Thu Oct 22 22:16:31 2020]
rule polish_merge:
input: , 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta, 01-generate_config/generated.config
output: 13-polish_merge/assembly.merged.fasta, 13-polish_merge/assembly.merged.fasta.fai
jobid: 7
reason: Missing output files: 13-polish_merge/assembly.merged.fasta, 13-polish_merge/assembly.merged.fasta.fai; Input files updated by another job: 01-generate_config/generated.config, 11-polish_prepare/shards, 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta
[Thu Oct 22 22:16:31 2020]
localrule separate_p_from_a:
input: 13-polish_merge/assembly.merged.fasta, 13-polish_merge/assembly.merged.fasta.fai, 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta
output: 14-separate/p_ctg.fasta, 14-separate/a_ctg.fasta
jobid: 4
reason: Missing output files: 14-separate/a_ctg.fasta, 14-separate/p_ctg.fasta; Input files updated by another job: 13-polish_merge/assembly.merged.fasta, 13-polish_merge/assembly.merged.fasta.fai, 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta
[Thu Oct 22 22:16:31 2020]
checkpoint purge_dups_map_prepare:
input: 02-build_db/reads.seqdb, 14-separate/p_ctg.fasta, 01-generate_config/generated.config
output: 15-purge_dups_map_prepare/shards
jobid: 6
reason: Missing output files: 15-purge_dups_map_prepare/shards; Input files updated by another job: 01-generate_config/generated.config, 02-build_db/reads.seqdb, 14-separate/p_ctg.fasta
Downstream jobs will be updated after completion.
[Thu Oct 22 22:16:31 2020]
rule purge_dups_map_merge:
input: , 01-generate_config/generated.config
output: 17-purge_dups_map_merge/merged.paf.gz
jobid: 3
reason: Missing output files: 17-purge_dups_map_merge/merged.paf.gz; Input files updated by another job: 01-generate_config/generated.config, 15-purge_dups_map_prepare/shards
[Thu Oct 22 22:16:31 2020]
rule purge_dups_paf:
input: 17-purge_dups_map_merge/merged.paf.gz, 14-separate/p_ctg.fasta, 14-separate/a_ctg.fasta, 01-generate_config/generated.config
output: 18-purge_dups/final_purged_primary.fasta, 18-purge_dups/final_purged_haplotigs.fasta
jobid: 2
reason: Missing output files: 18-purge_dups/final_purged_haplotigs.fasta, 18-purge_dups/final_purged_primary.fasta; Input files updated by another job: 01-generate_config/generated.config, 17-purge_dups_map_merge/merged.paf.gz, 14-separate/p_ctg.fasta, 14-separate/a_ctg.fasta
[Thu Oct 22 22:16:31 2020]
localrule final:
input: 18-purge_dups/final_purged_primary.fasta, 18-purge_dups/final_purged_haplotigs.fasta
output: 19-final/final.p_ctg.fasta, 19-final/final.a_ctg.fasta
jobid: 1
reason: Missing output files: 19-final/final.a_ctg.fasta, 19-final/final.p_ctg.fasta; Input files updated by another job: 18-purge_dups/final_purged_haplotigs.fasta, 18-purge_dups/final_purged_primary.fasta
[Thu Oct 22 22:16:31 2020]
localrule finish:
input: 19-final/final.p_ctg.fasta, 19-final/final.a_ctg.fasta
jobid: 0
reason: Input files updated by another job: 19-final/final.a_ctg.fasta, 19-final/final.p_ctg.fasta
Job counts:
count jobs
1 assemble
1 build_db
1 final
1 finish
1 generate_config
1 ovl_asym_merge
1 ovl_asym_prepare
1 ovl_filter
1 phasing_merge
1 phasing_prepare
1 polish_merge
1 polish_prepare
1 purge_dups_map_merge
1 purge_dups_map_prepare
1 purge_dups_paf
1 separate_p_from_a
16
This was a dry-run (flag -n). The order of jobs does not reflect the order of execution.
Thanks,
Fuyou
The text was updated successfully, but these errors were encountered: