Closed peterjc closed 4 years ago
I'm currently working on that for the mésocentre Clermont Auvergne and i will post my solution in this GitHub.
Great - thank you 👍
I finished to work on it and i found a solution.
But i have create a new token in the file macros.xml
line 728.
<token name="@ON_DB_SUBJECT_ORIGIN@"><![CDATA[
#if str($db_opts.db_origin.db_origin_selector)=="db"
'${db_opts.db_origin.database}'
#else
'${db_opts.db_origin.histdb.name}'
#end if
]]></token>
Are you all right with that added ? And can i make my pull request ?
I'm not sure how that would work from just the snippet, but if you have something which seems to work, please do make a pull request.
Done in #130 based on #127, now released to Test Tool Shed as version 2.7.1+galaxy0
Would upload to Main Tool Shed now, but that's giving me an internal server error.
Closing, that's been released now: https://toolshed.g2.bx.psu.edu/repository?repository_id=1d92ebdf7e8d466c
Thank you!
Used in
ncbi_blastdbcmd_info.xml
andncbi_blastdbcmd_wrapper.xml
(only), the macroinput_conditional_choose_db_type
defines the inputs for theblastdbcmd
tool.Currently this does not support a BLAST DB from the user's history, only from the system's
.loc
files.Might need nested options for the four way selection of prot/nucl and history/loc input...