Skip to content

For renaming directories containing genomes after an ncbi batch download from their assembly accesssion to their organism name

Notifications You must be signed in to change notification settings

hunterkwalt/NCBI-Batch-Rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

NCBI-Batch-Rename

For renaming directories containing genomic data after an ncbi batch data packet download from their assembly accesssion to their organism name

Recently, I had to download some data packets through the ncbi gui, and found that the data was all contained in a folder that had the assembly accession number. This python script uses the assembly_data_report.jsonl file that comes with it to rename all of the data packet directories from their assembly accession to their organism ID.

Be warned: I only tested it on my data, and I recommend making a copy of your data packets as backup because you can't undo the directory change.

About

For renaming directories containing genomes after an ncbi batch download from their assembly accesssion to their organism name

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages