-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Here is what I get when I use the pip-installed AlphaPeel - we should throw an error message saying that there is an unsupported/undefined flag and then we print the usage string - printing just usage string is not that informative (we must highlight first that there is an error)
❯ AlphaPeel -genotypes data/genotypes.txt \
-pedigree data/pedigree.txt \
-out outputs/multilocus_with_phase \
-nCycles 5 \
-runType multi \
-maxthreads 6 \
-geno_threshold 0.98 \
-hap_threshold 0.98 \
-geno \
-hap
usage: AlphaPeel [-h] -out OUT [-runtype RUNTYPE] [-bfile [BFILE ...]] [-genotypes [GENOTYPES ...]] [-phasefile [PHASEFILE ...]]
[-seqfile [SEQFILE ...]] [-pedigree [PEDIGREE ...]] [-startsnp STARTSNP] [-stopsnp STOPSNP] [-no_dosages] [-no_seg]
[-no_params] [-haps] [-calling_threshold [CALLING_THRESHOLD ...]] [-binary_call_files] [-call_phase]
[-writekey WRITEKEY] [-onlykeyed] [-iothreads IOTHREADS] [-maxthreads MAXTHREADS] [-ncycles NCYCLES] [-length LENGTH]
[-error ERROR] [-seqerror SEQERROR] [-esterrors] [-estmaf] [-nophasefounders] [-sexchrom] [-mapfile MAPFILE]
[-segmapfile SEGMAPFILE] [-segfile SEGFILE]
...
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation