Created
June 6, 2022 20:26
-
-
Save sminot/61fd2b6b8f70bbdc3b75ce6018d770cb to your computer and use it in GitHub Desktop.
Download from NCBI RefSeq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
rsync \ | |
-a \ | |
-m \ | |
--copy-links \ | |
--recursive \ | |
--times \ | |
--verbose \ | |
--exclude "all_assembly_versions/" \ | |
--exclude "representative/" \ | |
--exclude "*_cds_from_genomic.fna.gz" \ | |
--exclude "*_rna_from_genomic.fna.gz" \ | |
--include="*/" \ | |
--include='*genomic.fna.gz' \ | |
--exclude='*' \ | |
rsync://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/ ncbi_refseq_bacteria/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment