I am struggling to get convert_to_tskit trees to run. Im not sure I understand enough of the process to troubleshoot myself. My eventual goal is to get run CLUES2 on ARGS for individual SNPs.
My command is:
$PATH_TO_SINGER/convert_to_tskit -input $MY_PATH/chr22_22070000_22400000 -output $MY_PATH/tskit_chr22_22070000
-start 22070000 -end 22400000 -step 1
my error is:
Traceback (most recent call last):
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 98, in
main()
~~~~^^
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 95, in main
write_trees(args.input, args.output, args.start, args.end, args.step)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 64, in write_trees
ts = read_ARG(node_file, branch_file, mutation_file)
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 52, in read_ARG
tables = read_ts(node_file, branch_file)
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 10, in read_ts
node_time = np.loadtxt(node_file)
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_npyio_impl.py", line 1384, in loadtxt
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
converters=converters, skiplines=skiprows, usecols=usecols,
unpack=unpack, ndmin=ndmin, encoding=encoding,
max_rows=max_rows, quote=quotechar)
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_npyio_impl.py", line 1011, in _read
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_datasource.py", line 192, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_datasource.py", line 529, in open
raise FileNotFoundError(f"{path} not found.")
FileNotFoundError: /scratch/xinjunz_root/xinjunz0/susannak/singer_output/chr22_22070000_22400000_nodes_22070000.txt not found.
I am struggling to get convert_to_tskit trees to run. Im not sure I understand enough of the process to troubleshoot myself. My eventual goal is to get run CLUES2 on ARGS for individual SNPs.
My command is:
$PATH_TO_SINGER/convert_to_tskit -input $MY_PATH/chr22_22070000_22400000 -output $MY_PATH/tskit_chr22_22070000
-start 22070000 -end 22400000 -step 1
my error is:
Traceback (most recent call last):
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 98, in
main()
~~~~^^
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 95, in main
write_trees(args.input, args.output, args.start, args.end, args.step)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 64, in write_trees
ts = read_ARG(node_file, branch_file, mutation_file)
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 52, in read_ARG
tables = read_ts(node_file, branch_file)
File "/home/susannak/bin/SINGER-0.1.8-beta/releases/singer-0.1.8-beta-linux-x86_64/convert_to_tskit", line 10, in read_ts
node_time = np.loadtxt(node_file)
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_npyio_impl.py", line 1384, in loadtxt
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
converters=converters, skiplines=skiprows, usecols=usecols,
unpack=unpack, ndmin=ndmin, encoding=encoding,
max_rows=max_rows, quote=quotechar)
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_npyio_impl.py", line 1011, in _read
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_datasource.py", line 192, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/susannak/.conda/envs/myenv/lib/python3.14/site-packages/numpy/lib/_datasource.py", line 529, in open
raise FileNotFoundError(f"{path} not found.")
FileNotFoundError: /scratch/xinjunz_root/xinjunz0/susannak/singer_output/chr22_22070000_22400000_nodes_22070000.txt not found.