I. options without double strikes for general format file (.txt or .gz)
java -Xmx4g -jar ./snptracker.jar input.txt
java -Xmx4g -jar ./snptracker.jar input.txt output.prefix
java -Xmx4g -jar ./snptracker.jar input.txt 1 output.prefix
java -Xmx4g -jar ./snptracker.jar input.txt hg38 output.prefix
java -Xmx4g -jar ./snptracker.jar input.txt 1 hg38 output.prefix
*Note:If set options without double strikes (e.g. --in), please set options by following order.
(a) input file < REQUIRED >
(b) rsid column < default: 1 >
(c) reference < default: hg19 >
(d) output < default: snptracker >
*Resource datasets are default setting.
If you want to change the resource datasets,
please set options with double strikes.
II. options with double strikes
(I). tracking by RS IDs
java -Xmx4g -jar ./snptracker.jar --in input.txt --rsid 1 --ref hg38 --out output.prefix
(II). tracking by coordinates
java -Xmx4g -jar ./snptracker.jar --in input.txt --chr 1 --pos 2 --ref hg38 --out output.prefix
(III). tracking by a map/bim file
java -Xmx4g -jar ./snptracker.jar --map-file input.map --by-id --ref hg38 --out output.prefix
java -Xmx4g -jar ./snptracker.jar --bim-file input.bim --by-pos --ref hg38 --out output.prefix
(IV). specify resource datasets for I, II, III
...
--merge-file /path/to/resource/RsMergeArch.bcp.gz \
--coor-file /path/to/resource/SNPChrPosOnRef.bcp.gz \
--hist-file /path/to/resource/SNPHistory.bcp.gz
*Note:
If run the software first time, please set option without --no-web.
All resource files will download automatically and save in ./resources folder.
If want to switch off auto-download resources from web server, use --no-web option.