-
Notifications
You must be signed in to change notification settings - Fork 8
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
Lastz error: terminated with an error exit status (1) #70
Comments
Could you pls try to run a single lastz jobs on the command line? There is something systematically wrong. Likely some input files are not found or so. @kirilenkobm Could you pls have a look? There must be log files that indicate why the lastz jobs die. |
I ran one of the jobs from lastz_joblist.txt: /home/hwaterma/Documents/make_lastz_chains/standalone_scripts/run_lastz_intermediate_layer.py BULK_1:/home/hwaterma/Documents/MX_TOGA/test_out/target.2bit:MYX_Chr1 /home/hwaterma/Documents/MX_TOGA/test_out/query.2bit:NC_007112_7:0-50000000 /home/hwaterma/Documents/MX_TOGA/test_out/pipeline_parameters.json /home/hwaterma/Documents/MX_TOGA/test_out/temp_lastz_psl_output/bucket_ref_bulk_1/BULK_1_NC_007112_7__1.psl /home/hwaterma/Documents/make_lastz_chains/standalone_scripts/run_lastz.py --output_format psl --axt_to_psl /home/hwaterma/Documents/make_lastz_chains/HL_kent_binaries/axtToPsl That has been running for a few hours now with no errors. |
Well that is promising. |
Our first chromosome is 69,199,620 bp. The command did run to completion too. I just do not understand why the larger script is not working. |
I have no idea. Could you pls check how much memory the job required and how long it ran? Maybe your jobs get killed by Slurm on the cluster because they don't get enough memory or runtime? Did you test running lastz on the actual compute nodes that run the Slurm jobs? Maybe something is not correctly configured there. Do the jobs die immediately or only after running for a few hours? Also, maybe test splitting the genomes into much smaller chunks to see if these jobs succeed. |
hwaterma@cast-bio540ws02:~/Documents/MX_TOGA$ /usr/bin/time -v lastz You must specify a target file See the online documentation at http://www.bx.psu.edu/~rsharris/lastz for The job dies immediately on our local computer. This computer does not have a time window. I have got it to run locally on our computer cluster but it does not run in the 3 day window we are allowed. It does not run on Slurm but, I am working with the computer cluster IT for that issue. |
After /usr/bin/time -v |
I don't think I am doing this right. I'm sorry for being a little slow to this computer coding but this is what I ran and got: It seems that it can not read the target file. |
your command /usr/bin/time -v lastz etc is all correct, but it outputs an error which means the lastz command without measuring time and mem consumption (via /usr/bin/time -v ) should also crash immediately. Is the lastz command exactly the command that was running for a long time? Maybe try this to see if your /usr/bin/time -v works.
|
when I run that I get: |
Exit status: 0 Where is this coming from? -bash: syntax error near unexpected token `(' |
when I run /usr/bin/time -v find . | wc Command being timed: "find ." User time (seconds): 0.00 System time (seconds): 0.00 Percent of CPU this job got: 1% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.53 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 3032 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 0 Minor (reclaiming a frame) page faults: 217 Voluntary context switches: 66 Involuntary context switches: 0 Swaps: 0 File system inputs: 0 File system outputs: 0 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 0 the output is: |
You have a proper linux system? |
Oh I am sorry I was running the full command here is just /usr/bin/time -v find . | wc |
Well then everything works. Afterwards, the lastz run should also run. |
(TOGA) hwaterma@cast-bio540ws02:~/Documents/MX_TOGA/test_out$ ls -lh The file is made from the pipeline and is read and write able. Not too sure how to fix that. |
no idea. Pls send me this folder gzipped for download somewhere and I'll run this lastz locally on my system. |
I tar the files I am using. Could I get an email to send it to? Thank you so much again for your time on this! |
The 2bit files will be too large for email. |
pls use my senckenberg email https://tbg.senckenberg.de/hillerlab/contact-2/ |
I downloaded the files, but I would need the exact command you are running. Also lastz takes parameters. |
I think I found the problem. While 48.4% of the danio assembly is lower case = softmasked, you don't have any masking for the query. Pls run RepeatModeler2 on it, and use the resulting lib for repeatMasking. Not (properly) masking is the #1 issue that people have when the pipe is not running smoothly :-) |
I masked my genome and it still not running. I have reached out to our school tech support. Hoping to get this figured out and will let you know if we ever get to the bottom of this. |
Hi! |
Pls send me the masked genome files such that we test the same thing. |
Great!, thank you, Michael.
When you mention the
then the individual command:
Any comments? |
Actually, it could be easier if you tell me the NCBI accession of the dog and the ferret genome. |
Seems like your ferret is a very old assembly. I would recommend GCF_011764305.1. For dog, I would recommend GCA_011100685.1 = canFam4, which is better than the more recent assemblies. |
Sounds great!
Please, let me know if I can help in something with the pairwise alignments to obtain the chains! |
@MichaelHiller Please let me know if I can help with something, I will be attentive to any comment! Thank you again |
Dog to ferret chains are done. I'll send you everything via a download link |
Sounds great, I answered you by mail! |
I still have not got this to run on any of the computers I tried. My gnomes are both on NCBI: https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_019703515.2/ Do you also have time to run and get the chain file? |
I can try. Which is the reference? danRer11? |
Yes please :) |
Is running now. Pls send me a quick email and I'll share the chains once they are done. |
Pls find the chains and nets on https://genome.senckenberg.de/download/forHannahFish/ |
Hey I have beed tryin to run make_chains.py locally and keep getting shutdown by terminated with an error exit status (1).
(TOGA) hwaterma@cast-bio540ws02:~/Documents/MX_TOGA$ ../make_lastz_chains/make_chains.py MX DR MX_HiC_50chr_debris.fasta Danio.fa --pd test_out --chaining_memory 20 --executor local -f
Make Lastz Chains
Version 2.0.8
Commit: 88f4f39
Branch: main
All necessary executables found.
Making chains for MX_HiC_50chr_debris.fasta and Danio.fa files, saving results to /home/hwaterma/Documents/MX_TOGA/test_out
Pipeline started at 2024-11-08 11:24:48.221388
genomeID: MX
input sequence file: MX_HiC_50chr_debris.fasta
is 2bit: False
planned genome dir location: /home/hwaterma/Documents/MX_TOGA/test_out/target.2bit
Initial fasta file MX_HiC_50chr_debris.fasta saved to /home/hwaterma/Documents/MX_TOGA/test_out/target.2bit
For MX (target) sequence file: /home/hwaterma/Documents/MX_TOGA/test_out/target.2bit; chrom sizes saved to: /home/hwaterma/Documents/MX_TOGA/test_out/target.chrom.sizes
genomeID: DR
input sequence file: Danio.fa
is 2bit: False
planned genome dir location: /home/hwaterma/Documents/MX_TOGA/test_out/query.2bit
Initial fasta file Danio.fa saved to /home/hwaterma/Documents/MX_TOGA/test_out/query.2bit
For DR (query) sequence file: /home/hwaterma/Documents/MX_TOGA/test_out/query.2bit; chrom sizes saved to: /home/hwaterma/Documents/MX_TOGA/test_out/query.chrom.sizes
Partition Step
Partitioning for target
Saving partitions and creating 26 buckets for lastz output
In particular, 0 partitions for bigger chromosomes
And 26 buckets for smaller scaffolds
Saving target partitions to: /home/hwaterma/Documents/MX_TOGA/test_out/target_partitions.txt
Partitioning for query
Saving partitions and creating 59 buckets for lastz output
In particular, 40 partitions for bigger chromosomes
And 19 buckets for smaller scaffolds
Saving query partitions to: /home/hwaterma/Documents/MX_TOGA/test_out/query_partitions.txt
Num. target partitions: 0
Num. query partitions: 40
Num. lastz jobs: 0
Lastz Alignment Step
LASTZ: making jobs
LASTZ: saved 1534 jobs to /home/hwaterma/Documents/MX_TOGA/test_out/temp_lastz_run/lastz_joblist.txt
Parallel manager: pushing job /data/krablab/miniconda2/envs/TOGA/bin/nextflow /home/hwaterma/Documents/make_lastz_chains/parallelization/execute_joblist.nf --joblist
/home/hwaterma/Documents/MX_TOGA/test_out/temp_lastz_run/lastz_joblist.txt -c /home/hwaterma/Documents/MX_TOGA/test_out/temp_lastz_run/lastz_config.nf
N E X T F L O W ~ version 24.10.0
Launching
/home/hwaterma/Documents/make_lastz_chains/parallelization/execute_joblist.nf
[deadly_ekeblad] DSL2 - revision: 0432e25129executor > local (27)
[e2/21114c] execute_jobs (34) [ 2%] 17 of 769, failed: 17, retries: 17
[80/3a5e0e] NOTE: Process
execute_jobs (7)
terminated with an error exit status (1) -- Execution is retried (1)executor > local (27)
[70/2f69ec] execute_jobs (12) [ 2%] 18 of 824, failed: 18, retries: 18
[80/3a5e0e] NOTE: Process
execute_jobs (7)
terminated with an error exit status (1) -- Execution is retried (1)[cb/61e398] NOTE: Process
execute_jobs (26)
terminated with an error exit status (1) -- Execution is retried (1)[0f/1cc334] NOTE: Process
execute_jobs (39)
terminated with an error exit status (1) -- Execution is retried (1)[7c/1aa0fe] NOTE: Process
execute_jobs (16)
terminated with an error exit status (1) -- Execution is retried (1)[aa/6ec182] NOTE: Process
execute_jobs (20)
terminated with an error exit status (1) -- Execution is retried (1)[b5/7cb776] NOTE: Process
execute_jobs (21)
terminated with an error exit status (1) -- Execution is retried (1)[71/1845b5] NOTE: Process
execute_jobs (27)
terminated with an error exit status (1) -- Execution is retried (1)[34/8005d1] NOTE: Process
execute_jobs (25)
terminated with an error exit status (1) -- Execution is retried (1)[df/64091e] NOTE: Process
execute_jobs (22)
terminated with an error exit status (1) -- Execution is retried (1)[f6/8f96ed] NOTE: Process
execute_jobs (33)
terminated with an error exit status (1) -- Execution is retried (1)[04/06b5b4] NOTE: Process
execute_jobs (10)
terminated with an error exit status (1) -- Execution is retried (1)[98/051c7e] NOTE: Process
execute_jobs (5)
terminated with an error exit status (1) -- Execution is retried (1)[09/e4de98] NOTE: Process
execute_jobs (3)
terminated with an error exit status (1) -- Execution is retried (1)[c2/153283] NOTE: Process
execute_jobs (37)
terminated with an error exit status (1) -- Execution is retried (1)[36/f2dec6] NOTE: Process
execute_jobs (29)
terminated with an error exit status (1) -- Execution is retried (1)[33/2420be] NOTE: Process
execute_jobs (40)
terminated with an error exit status (1) -- Execution is retried (1)[e2/21114c] NOTE: Process
execute_jobs (34)
terminated with an error exit status (1) -- Execution is retried (1)When I try to understand the error the run.log:
Lastz Alignment Step
LASTZ: making jobs
LASTZ: saved 1534 jobs to /home/hwaterma/Documents/MX_TOGA/test_out/temp_lastz_run/lastz_joblist.txt
Parallel manager: pushing job /data/krablab/miniconda2/envs/TOGA/bin/nextflow /home/hwaterma/Documents/make_lastz_chains/parallelization/execute_joblist.nf --joblist /home/hwaterma/Documents/MX_TOGA/test_out/temp_lastz_run/lastz_joblist.txt -c /home/hwaterma/Documents/MX_TOGA/test_out/temp_lastz_run/lastz_config.nf
and there is no .nextflow or .nextflow.log get crated.
I beed trying to trouble shoot on my own but just can;'t seem to understand what the code it getting stuck on.
The text was updated successfully, but these errors were encountered: