Skip to content
Snippets Groups Projects
Commit 04de23ad authored by Pronk, Lotte's avatar Pronk, Lotte
Browse files

Revert "changed location of get_euk_prok_fasta.sh to data"

This reverts commit 8c372243.
parent 8c372243
No related branches found
No related tags found
No related merge requests found
...@@ -3,5 +3,4 @@ ...@@ -3,5 +3,4 @@
/whokaryote_scripts/test_prediction.py /whokaryote_scripts/test_prediction.py
/whokaryote_scripts/train_classifier.py /whokaryote_scripts/train_classifier.py
/whokaryote_scripts/train_kmers_only.py /whokaryote_scripts/train_kmers_only.py
/whokaryote/scripts/test_kmer_predictions.py /whokaryote/scripts/test_kmer_predictions.py
/Whokaryote.egg-info/ \ No newline at end of file
...@@ -107,7 +107,7 @@ if args.train: ...@@ -107,7 +107,7 @@ if args.train:
if args.f: if args.f:
print("Writing eukaryotic and prokaryotic contigs to separate fasta files. This can take very long...") print("Writing eukaryotic and prokaryotic contigs to separate fasta files. This can take very long...")
script_path = os.path.join(str(Path(__file__).parents[2]), "whokaryote_scripts", "get_euk_prok_fasta.sh") script_path = os.path.join(str(Path(__file__).parents[1]), "whokaryote_scripts", "get_euk_prok_fasta.sh")
input_file = args.contigs input_file = args.contigs
output_file = os.path.join(args.outdir, "lin_contigs.fasta") output_file = os.path.join(args.outdir, "lin_contigs.fasta")
euk_headers = os.path.join(args.outdir, "eukaryote_contig_headers.txt") euk_headers = os.path.join(args.outdir, "eukaryote_contig_headers.txt")
......
...@@ -22,7 +22,7 @@ setuptools.setup( ...@@ -22,7 +22,7 @@ setuptools.setup(
], ],
packages=['whokaryote_scripts'], packages=['whokaryote_scripts'],
include_package_data=True, include_package_data=True,
package_data={'whokaryote_scripts': ['data/*.joblib', 'data/*.sh']}, package_data={'whokaryote_scripts': ['data/*.joblib']},
python_requires=">=3.8", python_requires=">=3.8",
scripts=['bin/whokaryote.py'], scripts=['bin/whokaryote.py'],
install_requires=['pandas', 'pathlib', 'biopython', 'numpy', 'joblib', 'scikit-learn==1.0.2'] install_requires=['pandas', 'pathlib', 'biopython', 'numpy', 'joblib', 'scikit-learn==1.0.2']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment