Skip to content

Word size for megablast#25

Open
IvanTsers wants to merge 5 commits into
masterfrom
wordSize
Open

Word size for megablast#25
IvanTsers wants to merge 5 commits into
masterfrom
wordSize

Conversation

@IvanTsers

Copy link
Copy Markdown
Collaborator

Hello Bernhard,

I have added the -W flag to control the Blast word size of the megablast mode in Subtraction 2. The word size specified by the user overrides the task-specific word size, while penalties stay the same. The existing modes don't change. The usage logic:

  1. default: megablast followed by blastn:
fur -d db
  1. megablast mode:
fur -d db -m
  1. megablast with a specific word size:
fur -d db -m -W 18

The test is included.

P.S. Further expansions of Subtraction 2 settings would require some thinking to keep the currently available modes stable. For example, a flag for a custom blast command could be added:

-B "-word_size 18 -gapopen -10 -penalty -1 -culling_limit 2"

Cheers,
Ivan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants