Skip to content

This program calculates the mash sketches from the BestAssemblies direcory using all .fasta files

Notifications You must be signed in to change notification settings

OLC-Bioinformatics/python-script-to-mash-sketches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

python-script-to-mash-sketches

This program calculates the mash sketches from the BestAssemblies direcory using all .fasta files people can keep adding the paths that is from processed data and it will look for files and does the mash sketches. usually there are too many files so it splits part by part and run and concatenate the sketches and remove the temporary part files. Final step , it makes the final_sketches.msh file with all sketch

The purpose of this program is to calculate the sketches for every new incoming assemblies and can be used in close relatives by modifying sketch files, because those were created in 2019.

This runs on Julie's system where i work everyday at 12 am. if someone wants to modify the cron job it should be done like this

crontab -e ( my fav editor is vi)

0 0 * * * /home/jshay/miniconda3/bin/python /mnt/nas/users/madhu/mash_sketch_all.py >> /mnt/nas/users/madhu/mash.log 2>&1 [ here the env of python is added and the script is included in the crontab shell and save it wq!]

####warning if you are providing the ncbi path it is going to take longer time### comment a line which points towards ncbi directory and try running for inhouse##########

For my work i ran on salmonella, Listeria closed, Listeria monocytogenes and vtec closed and vtec ncbi ones this will go to foodport and used for benchmarking datasets

About

This program calculates the mash sketches from the BestAssemblies direcory using all .fasta files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages