Skip to content

Commit

Permalink
update description and help commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed May 6, 2020
1 parent 56584fc commit 658a58f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/sqlite_EAGER_tsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"""
@author: Katherine Eaton
sqlite_sra_parse.py
Extract SRA metadata from an NCBImeta sqlite database to create the tsv input file for EAGER.
./sqlite_sra_parse.py \
./sqlite_EAGER_tsv.py \
--database ../results/ncbimeta_db/update/latest/output/database/yersinia_pestis_db.sqlite \
--query "SELECT SRASampleName,SRARunAccession, SRALibraryLayout,SRAFileURL From Master WHERE ( BioSampleComment LIKE '%KEEP%')" \
--organism "Yersinia pestis" \
Expand All @@ -25,7 +25,7 @@
# Argument Parsing #
#-----------------------------------------------------------------------#

parser = argparse.ArgumentParser(description='Short description goes here.',
parser = argparse.ArgumentParser(description='Extract SRA metadata from an NCBImeta sqlite database to create the tsv input file for EAGER.',
add_help=True)

# Argument groups for the program
Expand All @@ -37,13 +37,13 @@
required = True)

parser.add_argument('--query',
help = 'SQL query command.',
help = 'SQL query command ("SELECT ...").',
action = 'store',
dest = 'sqlQuery',
required = True)

parser.add_argument('--organism',
help = 'Organism name for EAGER (Genus species).',
help = 'Organism name for EAGER (\"Genus species\").',
action = 'store',
dest = 'orgName',
required = True)
Expand Down Expand Up @@ -176,7 +176,7 @@
library_layout + "\t" +
org_name + "\t" +
R1_path + "\t" +
R2_path + "\t" +
R2_path + "\t" +
BAM + "\t" +
GROUP + "\t" +
POPULATIONS + "\t" +
Expand Down

0 comments on commit 658a58f

Please sign in to comment.