Commit 1d53cf19 authored by Pauline Pommeret's avatar Pauline Pommeret

Description message

parent fcc6e035
......@@ -6,6 +6,7 @@ Un fichier pour faire des tests
import os
import argparse
from argparse import RawDescriptionHelpFormatter
import sequence
from lib.XylokExceptions import NoFastaProvided
......@@ -16,13 +17,14 @@ if __name__ == "__main__":
DBCURSOR = database.PGCursor()
# Use argparse to parse arguments. We first create a parser.
PARSER = argparse.ArgumentParser(description="This program creates a postgresql database that holds the following data:
text = "This program creates a postgresql database that holds the following data:
- sequence information (name, accession number, sequence alphabet, description, etc)
- analysis parameters (Student table's alpha, number of bp considered as center, smooth window, etc)
- relevant information on the TRX signal FFT
- relevant information on the MD helicoidal parameters FFT
- Spearman and Pearson correlations between every helicoidal parameters for every frame of the MD
")
"
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