Mercurial > repos > iuc > meme_chip
view get_meme_motif_databases.py @ 1:091a9d638d78 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meme_chip commit 0ba5f658424430eea10c79f92c9a8d7a1ca9eaf3
author | iuc |
---|---|
date | Thu, 15 Nov 2018 09:58:25 -0500 |
parents | 6095db402811 |
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