Hello! I am trying to use ntsynt installed through conda on MacOS. I have run into two bugs thus far: when running snakemake, the program throws an error that it cannot find the fasta files even for the demo when I am in the tests folder. Same as issue #68, with the stated fix (putting double quotations around the references list instead of single quotations) working, although I am unable to figure out how to fix this in the script itself.
Following that, after I run the snakemake code on its own with my own files, I get an issue that one of the commands exited with a non-zero exit code. Also, I have noticed that I get an Error that says "NtHash: sequence length (18) is smaller than k (19)", with the sequence length always being smaller than whatever I set k to (in this case I set k to 19 after being told that the sequence length was 20 when k was set to 24).
I have copied and pasted the log below:
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 12
Rules claiming more threads will be scaled down.
Provided resources: load=2
Job counts:
count jobs
1 all
2 faidx
2 indexlr
1 make_common_bf
1 ntsynt_synteny
7
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 12
Rules claiming more threads will be scaled down.
Provided resources: load=2
Job counts:
count jobs
1 all
2 faidx
2 indexlr
1 make_common_bf
1 ntsynt_synteny
7
[Sat Aug 15 20:31:01 2026]
rule make_common_bf:
input: NMRcdna.fa.gz, Mousecdna.fa.gz
output: ntSynt.k24.w1000.common.bf
jobid: 4
threads: 12
/opt/anaconda3/envs/GenomicViewer/bin/ntsynt_make_common_bf --genome NMRcdna.fa.gz Mousecdna.fa.gz -p ntSynt.k24.w1000.common --fpr 0.025 -k 19 -t 12
[Sat Aug 15 20:31:09 2026]
Error in rule make_common_bf:
jobid: 4
output: ntSynt.k24.w1000.common.bf
shell:
/opt/anaconda3/envs/GenomicViewer/bin/ntsynt_make_common_bf --genome NMRcdna.fa.gz Mousecdna.fa.gz -p ntSynt.k24.w1000.common --fpr 0.025 -k 19 -t 12
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /Users/Dragonweaver/Documents/.snakemake/log/2026-08-15T203101.092915.snakemake.log
Thanks in advance! Happy to answer any questions that can help to figure out this problem!
Hello! I am trying to use ntsynt installed through conda on MacOS. I have run into two bugs thus far: when running snakemake, the program throws an error that it cannot find the fasta files even for the demo when I am in the tests folder. Same as issue #68, with the stated fix (putting double quotations around the references list instead of single quotations) working, although I am unable to figure out how to fix this in the script itself.
Following that, after I run the snakemake code on its own with my own files, I get an issue that one of the commands exited with a non-zero exit code. Also, I have noticed that I get an Error that says "NtHash: sequence length (18) is smaller than k (19)", with the sequence length always being smaller than whatever I set k to (in this case I set k to 19 after being told that the sequence length was 20 when k was set to 24).
I have copied and pasted the log below:
Thanks in advance! Happy to answer any questions that can help to figure out this problem!