Skip to content

Commit

Permalink
adding fix for window size parameter which should not be required for…
Browse files Browse the repository at this point in the history
… this class
  • Loading branch information
cskokgibbs committed Aug 20, 2021
1 parent cb06489 commit 2f0b48f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inferelator_prior/network_from_motifs_fasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ def main():

ap.add_argument("-m", "--motif", dest="motif", help="Motif file", metavar="PATH", required=True)
ap.add_argument("-f", "--fasta", dest="fasta", help="Promoter FASTA file", metavar="FILE", required=True)
#ap.add_argument("--scan-threshold", dest="scan_threshold", default="1e-4", help="Threshold for FIMO")

# Process common arguments into values
add_common_arguments(ap)
args = ap.parse_args()
out_prefix, _window, _tandem, _use_tss, _gl, _tfl, _minfo = parse_common_arguments(args)
out_prefix, _window, _tandem, _use_tss, _gl, _tfl, _minfo, _ = parse_common_arguments(args)

_, _, prior_data = build_motif_prior_from_fasta(args.motif, args.fasta,
num_cores=args.cores,
scanner_thresh=args.scan_thresh,
motif_ic=args.min_ic,
tandem=_tandem,
scanner_type=args.scanner,
Expand Down

0 comments on commit 2f0b48f

Please sign in to comment.