Mercurial > repos > iuc > meme_chip
view get_meme_motif_databases.py @ 11:a8ccb1bfd632 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme_chip commit 1661efcd3fb5d37fd972588bcf328a6ac705d4fa"
| author | iuc |
|---|---|
| date | Sat, 27 Nov 2021 14:37:07 +0000 |
| parents | c321ab02c2a0 |
| children |
line wrap: on
line source
import os def get_meme_motif_database_options(file_path): options = [] if not os.path.isdir(file_path): return options for i, file_name in enumerate(os.listdir(file_path)): full_path = os.path.join(file_path, file_name) options.append((file_name, full_path, i == 0)) return options
