Skip to content

Commit

Permalink
Genome analyzer: proper parsing of sequence name from .txt annotation…
Browse files Browse the repository at this point in the history
… file (similar to parsing gff, ncbi, bed)
  • Loading branch information
alexeigurevich committed Oct 22, 2018
1 parent 3ba03dc commit 4dab611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quast_libs/genes_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from quast_libs.log import get_logger
logger = get_logger(qconfig.LOGGER_DEFAULT_NAME)

txt_pattern_gi = re.compile(r'gi\|(?P<id>\d+)\|\w+\|(?P<seqname>\S+)\|\s+(?P<gene_id>.+)\s+(?P<start>\d+)\s+(?P<end>\d+)$', re.I)
txt_pattern_gi = re.compile(r'(?P<seqname>\S+)\s+(?P<gene_id>.+)\s+(?P<start>\d+)\s+(?P<end>\d+)$', re.I)

txt_pattern = re.compile(r'(?P<seqname>\S+)\s+(?P<gene_id>.+)\s+(?P<start>\d+)\s+(?P<end>\d+)$', re.I)

Expand Down

0 comments on commit 4dab611

Please sign in to comment.