Skip to main content

Setting the String Value for Blast plugin option is not working

Comments

2 comments

  • Hilary Miller

    Hi Matt, 

    You can only use a subsequence on manual queries, so that needs to be set first. The sequence of options to set is:

    options.setStringValue("queryInputMethod.queryInputMethod", "specifyQuery")
    options.setStringValue("manualQuery.manuallySpecifiedQuery", "GATTACA")
    options.setStringValue("manualQuery.subsequence.useSubsequence", "true")

     

    Alternatively, if you want to use a region on a selected document, you should create a sequence selection first, then get the options and set:

    options.setStringValue("queryInputMethod.queryInputMethod", "useSelectedRegion")

     

    Hope that helps for what you want to achieve.

    0
  • Matthew Shum

    Thanks Jonas! This helps!

    0

Please sign in to leave a comment.