Commit cba47ff7 authored by Pauline Pommeret's avatar Pauline Pommeret

Trying to solve line-too-long

parent 1a10fcb2
......@@ -17,8 +17,12 @@ if __name__ == "__main__":
DBCURSOR = database.PGCursor()
# Use argparse to parse arguments. We first create a parser.
text = "This program creates a postgresql database that holds the following data:\n - sequence information (name, accession number, sequence alphabet, description, etc)\n - analysis parameters (Student table's alpha, number of bp considered as center, smooth window, etc)\n - relevant information on the TRX signal FFT\n - relevant information on the MD helicoidal parameters FFT\n - Spearman and Pearson correlations between every helicoidal parameters for every frame of the MD\n\nThe data directory must be organized this way:\n datadir\n \-dir1\n \-group (mandatory)\n \-sequence.fasta (mandatory)\n \-rise.dat\n \-roll.dat\n \-tilt.dat\n \-twist.dat\n \-shift.dat\n \-slide.dat\n \-...\n\nA .dat file must me organized this way:\n frame C16/C17 C17/G18 G18/A19 ...\n 0 -1.0 9.0 -1.8\n 1 -4.4 -7.6 -0.1\n 2 -6.4 1.0 -6.0\n 3 -3.6 -1.1 -2.5\n\n"
PARSER = argparse.ArgumentParser(description=text, formatter_class=RawDescriptionHelpFormatter)
TEXT = "This program creates a postgresql database that holds the following data:\n - sequence information (name, accession number, sequence alphabet, description, etc)\n - analysis parameters (Student table's alpha, number of bp considered as center, smooth window, etc)\n - relevant information on the TRX signal FFT\n - relevant information on the MD helicoidal parameters FFT\n - Spearman and Pearson correlations between every helicoidal parameters for every frame of the MD\n\nThe data directory must be organized this way:\n datadir\n \\-dir1\n \\-group (mandatory)\n \\-sequence.fasta (mandatory)\n \\-rise.dat\n \\-roll.dat\n \\-tilt.dat\n \\-twist.dat\n \\-shift.dat\n \\-slide.dat\n \\-...\n\nA .dat file must me organized this way:\n frame C16/C17 C17/G18 G18/A19 ...\n 0 -1.0 9.0 -1.8\n 1 -4.4 -7.6 -0.1\n 2 -6.4 1.0 -6.0\n 3 -3.6 -1.1 -2.5\n\n"
PARSER = argparse.ArgumentParser(description=TEXT, \
formatter_class=RawDescriptionHelpFormatter)
# Adding arguments to the parser
PARSER.add_argument("-a", "--alphabet", type=str, default="dna", help="[str] sequences alphabet (dna, rna, prot), currently only dna is implemented (default: 'dna')", action="store")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment