SCOARY(1)
πΈ NAME πΈ
okay bestie, welcome to the scoary manual page β this is section 1 of User Commands, and it's pangenome-wide association studies π periodt.
π¦ SYNOPSIS π¦
scoary [-h] [-t TRAITS] [-g GENES] [-n NEWICKTREE] [-s START_COL]
[--delimiter DELIMITER] [-r RESTRICT_TO] [-o OUTDIR] [-u] [-p
P_VALUE_CUTOFF [P_VALUE_CUTOFF ...]] [-c [{I,B,BH,PW,EPW,P}
[{I,B,BH,PW,EPW,P} ...]]] [-m MAX_HITS] [--include_input_columns
GRABCOLS] [-w] [--no-time] [-e PERMUTE] [--no_pairwise] [--collapse]
[--threads THREADS] [--test] [--citation] [--version]
β¨ OPTIONS β¨
π optional arguments:
-h,--helpβ pops up this help message and then dips. that's it, that's the whole thing π
𧬠Input options:
-t TRAITS,--traits TRAITSβ your input trait table, in comma-separated-values format. trait presence is marked with1, trait absence with0. it assumes strain names live in the first column and trait names live in the first row, bestie, no negotiation πΈ-g GENES,--genes GENESβ the input gene presence/absence table (comma-separated values), coming straight fromROARY. the strain names must match the ones in the trait table, fr fr π-n NEWICKTREE,--newicktree NEWICKTREEβ hand it a custom tree (Newick format) for the phylogenetic analyses instead of letting it calculate one internally. yes, you get to be the main character here π¦-s START_COL,--start_col START_COLβ tells it which column in the gene presence/absence file is where the individual strain info actually starts. Default =15. (and it's 1-based indexing, iykyk) π’--delimiter DELIMITERβ the delimiter between cells in the gene presence/absence file, the trait file, and the output file. one delimiter to rule them all β¨-r RESTRICT_TO,--restrict_to RESTRICT_TOβ use this when you only wanna analyze a subset of your strains. Scoary reads the comma-separated table of strains you give it and restricts all the analyses to just those. choose your fighters π«Ά
πΎ Output options:
-o OUTDIR,--outdir OUTDIRβ the directory where output files get dropped. Default =.π-u,--upgma_treeβ this flag makes Scoary write the calculated UPGMA tree out to a newick file. tree reveal moment π³-p P_VALUE_CUTOFF [P_VALUE_CUTOFF ...],--p_value_cutoff P_VALUE_CUTOFF [P_VALUE_CUTOFF ...]β the p-value cut-off, aka the alpha level. for the Fishers, Bonferronis and Benjamini-Hochbergs tests, SCOARY simply won't report genes with p-values higher than this. for empirical p-values tho, it gets treated as an alpha level instead β so0.02will filter out all genes except the lower and upper percentile from that test. run it with"-p 1.0"to report all the genes. it accepts standard form (e.g.1E-8). you can provide a single value (applied to everything) or exactly as many values as correction criteria, in corresponding order. (peep the example under correction π) Default =0.05-c [{I,B,BH,PW,EPW,P} [{I,B,BH,PW,EPW,P} ...]],--correction [{I,B,BH,PW,EPW,P} [{I,B,BH,PW,EPW,P} ...]]β applies the indicated filtration measure. allowed values areI,B,BH,PW,EPW,P, and here's the tea on each one:I= Individual (naive) p-valueB= Bonferroni adjusted p-valueBH= BenjaminiHochberg adjusted pPW= Best (lowest) pairwise comparisonEPW= Entire range of pairwise comparison p-valuesP= Empirical p-value from permutations
you can enter as many correction criteria as you want, and they get associated with the p_value_cutoffs you enter. like, "-c I EPW -p 0.1 0.05" applies these cutoffs: the naive p-value has to be lower than 0.1 AND the entire range of pairwise comparison values must be below 0.05 for that gene. ngl, note that empirical p-values should be interpreted at both tails β so running "-c P -p 0.05" applies an alpha of 0.05 to the empirical (permuted) p-values, i.e. it filters everything except the upper and lower 2.5 percent of the distribution. Default = Individual p-value. (I) π
-m MAX_HITS,--max_hits MAX_HITSβ maximum number of hits to report. SCOARY will only report the topmax_hitsresults per trait. keeping it cute and concise π--include_input_columns GRABCOLSβ grabs columns from the input Roary file and puts them in the output. handles commas and ranges, e.g.--include_input_columns 4,6,8,16-23. the special keywordALLwill include all relevant input columns in the output. shopping spree ποΈ-w,--write_reducedβ use this with-rif you want Scoary to create a brand new gene presence absence file from your reduced set of isolates. > heads up bestie: columns1-14(No. sequences, Avg group size nuc etc) in this file do not reflect the reduced dataset β those get taken from the full dataset. not me warning you twice π--no-timeβ outputs the file asTRAIT.results.csvinstead ofTRAIT_TIMESTAMP.csv. and when you use it with the-wargument, it outputs a reduced gene matrix asgene_presence_absence_reduced.csvrather thangene_presence_absence_reduced_TIMESTAMP.csv. no timestamps, no stress β
π¬ Analysis options:
-e PERMUTE,--permute PERMUTEβ performs N number of permutations of the significant results post-analysis. each permutation does a label switching of the phenotype and a new p-value gets calculated according to this new dataset. after all N permutations are done, the results are ordered in ascending order, and the percentile of the original result in the permuted p-value distribution is reported. literally a whole glow-up arc for your p-values π₯--no_pairwiseβ do not perform pairwise comparisons. in this mode, Scoary performs population structure-naive calculations only (Fishers test, ORs etc). useful for summary operations and exploring sets (genes unique in groups, intersections etc) but not for causal analyses, okay? π--collapseβ add this to collapse correlated genes (genes that have identical distribution patterns in the sample) into merged units. twinning fr fr π―
π Misc options:
--threads THREADSβ number of threads to use. Default =1π§΅--testβ runs Scoary on the test set inexampledata, overriding all other parameters. it does not care what else you typed, bestie π--citationβ shows citation information, and exits. give credit where it's due π«Ά--versionβ displays the Scoary version, and exits. β¨
by Ola Brynildsrud (olbb@fhi.no) π
π AUTHOR π
this manpage was written by Andreas Tille for the Debian distribution, and it can be used for any other usage of the program. iconic behavior, we love a flexible license π
and that's the whole vibe check, bestie β this was scoary version 1.6.16, dated January 2019, signing off from the SCOARY(1) manual. slay, go run some associations, and remember: the facts stay, the energy stays higher πβ¨π¦
π¦ where this page comes from
- debian bookworm: scoary 1.6.16-5 Β· GPL-3.0-only
- debian trixie: scoary 1.6.16-10 Β· GPL-3.0-only
- ubuntu jammy: scoary 1.6.16-3 Β· GPL-3.0-only
- ubuntu noble: scoary 1.6.16-6 Β· GPL-3.0-only
- ubuntu questing: scoary 1.6.16-10
- ubuntu resolute: scoary 1.6.16-10build1 Β· GPL-3.0-only
- ubuntu stonking: scoary 1.6.16-10build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms