Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove merge conflict resolution lines (Fixes #68) #69

Merged
merged 1 commit into from
May 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 10 additions & 25 deletions autometa/common/markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,38 +251,23 @@ def main():
import argparse
import logging as logger
logger.basicConfig(
format='%(asctime)s : %(name)s : %(levelname)s : %(message)s',
format='[%(asctime)s %(levelname)s] %(name)s: %(message)s',
datefmt='%m/%d/%Y %I:%M:%S %p',
level=logger.DEBUG)
parser = argparse.ArgumentParser(
description='Annotate ORFs with kingdom-marker information')
description='Annotate ORFs with kingdom-marker information',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('orfs',
help='Path to a fasta file containing amino acid sequences of open reading frames')
parser.add_argument('kingdom', help='kingdom to search for markers',
choices=['bacteria', 'archaea'], default='bacteria')
help='Path to a fasta file containing amino acid sequences of open reading frames')
parser.add_argument('--kingdom', help='kingdom to search for markers',
choices=['bacteria', 'archaea'], default='bacteria')
parser.add_argument('--dbdir',
help=f'Path to directory containing the single-copy marker HMM databases.',
default=MARKERS_DIR)
args = parser.parse_args()
markers = Markers(orfs_fpath=args.orfs,
kingdom=args.kingdom, dbdir=args.dbdir)


== == == =
description = 'Annotate ORFs with kingdom-marker information',
formatter_class = argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('orfs',
help = 'Path to a fasta file containing amino acid sequences of open reading frames')
parser.add_argument('--kingdom', help = 'kingdom to search for markers',
choices = ['bacteria', 'archaea'], default = 'bacteria')
parser.add_argument('--dbdir',
help = 'Path to directory containing the single-copy marker HMM databases.',
default = MARKERS_DIR)
help='Path to directory containing the single-copy marker HMM databases.',
default=MARKERS_DIR)
args=parser.parse_args()

markers=Markers(orfs_fpath = args.orfs,
kingdom = args.kingdom, dbdir = args.dbdir)
>> >>>> > 962121fba54cc9c3bff74322b3a6fd734f4c5f12
markers=Markers(orfs_fpath=args.orfs, kingdom=args.kingdom, dbdir=args.dbdir)

markers.get()


Expand Down