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 | |
| # Alternative download script for Krona (https://github.com/marbl/Krona) for when (always) NCBI FTP breaks. | |
| # Built for krona 2.8.1 | |
| pushd [...]/opt/krona/taxonomy/accession2taxid | |
| FILES="dead_nucl.accession2taxid dead_prot.accession2taxid dead_wgs.accession2taxid nucl_gb.accession2taxid nucl_wgs.accession2taxid prot.accession2taxid" | |
| for f in $FILES; do |
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
| #!/usr/bin/env python3 | |
| import re, sys, json | |
| def print_err(msg): | |
| print(' \u001b[31m✖\u001b[0m - ' + msg) | |
| def print_wrn(msg): | |
| print(' \u001b[33m!\u001b[0m - ' + msg) |