Skip to content

Commit

Permalink
Merge pull request #9 from JalealCDC/master
Browse files Browse the repository at this point in the history
updated grep bug
  • Loading branch information
chienchi authored Dec 4, 2024
2 parents 1734e66 + eefec6a commit c095482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplicov/amplicov
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def convert_bedpe_to_amplicon_dict(input,cov_array,RefID="",unique=False, count_
amplicon=defaultdict(dict)
primers_pos=list()
RefID = '""' if RefID is None else RefID
cmd = 'grep %s %s | cut -f 2,3,5,6,7 ' % (RefID, input_bedpe)
cmd = 'grep -w %s %s | cut -f 2,3,5,6,7 ' % (RefID, input_bedpe)
proc = subprocess.Popen(cmd,shell=True,stdout=subprocess.PIPE)
previous_id=''
outs, errs = proc.communicate()
Expand Down

0 comments on commit c095482

Please sign in to comment.