Skip to content

Commit

Permalink
Replaced dashes with underscores in database_import_scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tgurbich committed Nov 19, 2024
1 parent 9d469cc commit b0a826c
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions helpers/file_organiser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ function GenerateRNACentralJSON {

echo "Running JSON generation"
mitload miniconda && conda activate pybase
rna_cmd="python3 /nfs/production/rdf/metagenomics/pipelines/prod/genomes-pipeline/helpers/database-import-scripts/rnacentral/generate_rnacentral_json.py \
-r /nfs/production/rdf/metagenomics/pipelines/prod/genomes-pipeline/helpers/database-import-scripts/rnacentral/rfam_model_lengths_14.9.txt \
rna_cmd="python3 /nfs/production/rdf/metagenomics/pipelines/prod/genomes-pipeline/helpers/database_import_scripts/rnacentral/generate_rnacentral_json.py \
-r /nfs/production/rdf/metagenomics/pipelines/prod/genomes-pipeline/helpers/database_import_scripts/rnacentral/rfam_model_lengths_14.9.txt \
-m "${RESULTS_PATH}/genomes-all_metadata.tsv" -o "${RESULTS_PATH}/additional_data/rnacentral/${CATALOGUE_FOLDER}-rnacentral.json" \
-d "${RESULTS_PATH}/additional_data/ncrna_deoverlapped_species_reps/" -g "${RESULTS_PATH}/additional_data/rnacentral/GFFs/ "\
-f "${RESULTS_PATH}/additional_data/mgyg_genomes/""
Expand Down Expand Up @@ -134,7 +134,7 @@ function GenerateUniprotFiles {
fi

mitload miniconda && conda activate pybase
python3 /nfs/production/rdf/metagenomics/pipelines/prod/genomes-pipeline/helpers/database-import-scripts/uniprot/preprocess_taxonomy_for_uniprot.py \
python3 /nfs/production/rdf/metagenomics/pipelines/prod/genomes-pipeline/helpers/database_import_scripts/uniprot/preprocess_taxonomy_for_uniprot.py \
-g ${RESULTS_PATH}/additional_data/gtdbtk_results/ -r "r214" -v "2" \
-m ${RESULTS_PATH}/ftp/genomes-all_metadata.tsv --species-level-taxonomy -t 4 \
-o ${RESULTS_PATH}/additional_data/uniprot/preprocessed_taxonomy.tsv
Expand Down
4 changes: 2 additions & 2 deletions tests/scripts/test_generate_rnacentral_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from pathlib import Path

script_dir = Path(__file__).resolve().parent
rnacentral_dir = script_dir / '../../helpers/database-import-scripts/rnacentral'
rnacentral_dir = script_dir / '../../helpers/database_import_scripts/rnacentral'
rnacentral_dir = rnacentral_dir.resolve()

generate_json = importlib.import_module("helpers.database-import-scripts.rnacentral.generate_rnacentral_json")
generate_json = importlib.import_module("helpers.database_import_scripts.rnacentral.generate_rnacentral_json")
generate_metadata_dict = generate_json.generate_metadata_dict
get_good_hits = generate_json.get_good_hits
load_rfam = generate_json.load_rfam
Expand Down

0 comments on commit b0a826c

Please sign in to comment.