From e79a0d537cf2aab67a78ed83450a5a709db8dfab Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Fri, 10 Apr 2015 15:28:12 -0700 Subject: [PATCH] Add license, more docstrings remove hard-coded test paths --- find_meme_letter_probabilities.py | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/find_meme_letter_probabilities.py b/find_meme_letter_probabilities.py index fa34bab..50ab650 100644 --- a/find_meme_letter_probabilities.py +++ b/find_meme_letter_probabilities.py @@ -1,12 +1,27 @@ #!/usr/bin/python 3 +"""Program to search through MEME report to find letter-probabilties matrix +""" + +# Copyright (2015) Diane Trout & California Institute of Technology + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import argparse import re import os def main(cmdline=None): - #filename = '/woldlab/castor/home/kfisher/ChIA/AliNodes/DNase4/Wellington/PP_DE_analysis/Consolidated_Wellington_promoters_3xUp_10FPKM.cyteConnected_myocyteFootprints.20rad.MEME2_maxw25/meme.txt' - #output_dir = '.' - parser = make_parser() args = parser.parse_args(cmdline) -- 2.30.2