comparison runner.py @ 13:ae2cd39594eb draft

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 195ced408efbb08aaeccf05135c27364372b299f
author richard-burhans
date Sat, 13 Jul 2024 16:51:52 +0000
parents 08e987868f0f
children a5769923297c
comparison
equal deleted inserted replaced
12:e6fde4082c76 13:ae2cd39594eb
35 for segment in self.segalign_segments: 35 for segment in self.segalign_segments:
36 yield segment 36 yield segment
37 37
38 38
39 class LastzCommand: 39 class LastzCommand:
40 lastz_command_regex = re.compile(r"lastz (.+?)?ref\.2bit\[nameparse=darkspace\]\[multiple\]\[subset=ref_block(\d+)\.name\] (.+?)?query\.2bit\[nameparse=darkspace\]\[subset=query_block(\d+)\.name] --format=(\S+) --ydrop=(\d+) --gappedthresh=(\d+) --strand=(minus|plus)(?: --ambiguous=(\S+))?(?: --(notrivial))?(?: --scoring=(\S+))? --segments=tmp(\d+)\.block(\d+)\.r(\d+)\.(minus|plus)(?:\.split(\d+))?\.segments --output=tmp(\d+)\.block(\d+)\.r(\d+)\.(minus|plus)(?:\.split(\d+))?\.(\S+) 2> tmp(\d+)\.block(\d+)\.r(\d+)\.(minus|plus)(?:\.split(\d+))?\.err") 40 lastz_command_regex = re.compile(r"lastz (.+?)?ref\.2bit\[nameparse=darkspace\]\[multiple\]\[subset=ref_block(\d+)\.name\] (.+?)?query\.2bit\[nameparse=darkspace\]\[subset=query_block(\d+)\.name] --format=(\S+) --ydrop=(\d+) --gappedthresh=(\d+) --strand=(minus|plus)(?: --ambiguous=(\S+))?(?: --(notrivial))?(?: --scores=(\S+))? --segments=tmp(\d+)\.block(\d+)\.r(\d+)\.(minus|plus)(?:\.split(\d+))?\.segments --output=tmp(\d+)\.block(\d+)\.r(\d+)\.(minus|plus)(?:\.split(\d+))?\.(\S+) 2> tmp(\d+)\.block(\d+)\.r(\d+)\.(minus|plus)(?:\.split(\d+))?\.err")
41 41
42 def __init__(self, line: str) -> None: 42 def __init__(self, line: str) -> None:
43 self.line = line 43 self.line = line
44 self.args: list[str] = [] 44 self.args: list[str] = []
45 self.target_filename: str = '' 45 self.target_filename: str = ''