Skip to content

Commit

Permalink
update text and docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens committed Apr 29, 2024
1 parent dbab280 commit b263385
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/harpy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,13 @@ def simulate():
"harpy simulate":
[
{
"name": "Genomic Variants",
"commands": ["linkedreads", "snpindel","inversion", "cnv", "translocation"],
"name": "Linked Read Sequences",
"commands": ["linkedreads"],
},
{
"name": "Genomic Variants",
"commands": ["snpindel","inversion", "cnv", "translocation"],
}
]
}

Expand Down
2 changes: 1 addition & 1 deletion src/harpy/simulatelinkedreads.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@click.option('-i', '--distance-sd', type = click.IntRange(min = 1), default = 15, show_default=True, help = "Standard deviation of read-pair distance")
@click.option('-b', '--barcodes', type = click.Path(exists=True, dir_okay=False), help = "File of linked-read barcodes to add to reads")
@click.option('-n', '--read-pairs', type = click.FloatRange(min = 0.001), default = 600, show_default=True, help = "Number (in millions) of read pairs to simulate")
@click.option('-l', '--molecule-length', type = click.IntRange(min = 10), default = 100, show_default=True, help = "Mean molecule length (kbp)")
@click.option('-l', '--molecule-length', type = click.IntRange(min = 2), default = 100, show_default=True, help = "Mean molecule length (kbp)")
@click.option('-p', '--partitions', type = click.IntRange(min = 1), default=1500, show_default=True, help = "Number (in thousands) of partitions/beads to generate")
@click.option('-m', '--molecules-per', type = click.IntRange(min = 1), default = 10, show_default=True, help = "Average number of molecules per partition")
@click.option('-t', '--threads', default = 4, show_default = True, type = click.IntRange(min = 1, max_open = True), help = 'Number of threads to use')
Expand Down

0 comments on commit b263385

Please sign in to comment.