diff --git a/microSALT/utils/scraper.py b/microSALT/utils/scraper.py index 26bdccc9..daee21d4 100644 --- a/microSALT/utils/scraper.py +++ b/microSALT/utils/scraper.py @@ -257,9 +257,9 @@ def scrape_blast(self, type="", file_list=[]): ].capitalize() #Ignores reference name and finds relevant resFinder entry - padder = [x for x in locilengths.keys() if x.startswith('>{}'.format(partials[1]))] + padder = [x for x in locilengths.keys() if x.startswith('>{}_'.format(partials[1]))] if len(padder) == 0: - padder = [x for x in locilengths.keys() if x.startswith('>{}'.format(partials[1][:-1]))] + padder = [x for x in locilengths.keys() if x.startswith('>{}_'.format(partials[1][:-1]))] try: padder = padder[0] except IndexError as e: