.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.13. .TH RANDSAMPLE "1" "December 2012" "randsample 2.0.9.1" "User Commands" .SH NAME randsample \- Random sample certain number/percentage of tags .SH SYNOPSIS .B randsample \fI<-t file> \fR[\fI-p percent|-n number\fR] [\fI-o outputfile\fR] [\fIoptions\fR] .SH DESCRIPTION randsample \fB\-\-\fR Random sample certain number/percentage of tags. Method: 1. Calculate the percentage of tags needed to be kept; 2. For each chromosome, random sample certain percentage of tags. .SH OPTIONS .TP \fB\-\-version\fR show program's version number and exit .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit. .TP \fB\-t\fR TFILE Sequencing alignment file. REQUIRED. .TP \fB\-p\fR PERCENTAGE, \fB\-\-percentage\fR=\fIPERCENTAGE\fR Percentage of tags you want to keep. Input 80.0 for 80%. This option can't be used at the same time with \fB\-n\fR/\-\-num. REQUIRED .TP \fB\-n\fR NUMBER, \fB\-\-number\fR=\fINUMBER\fR Number of tags you want to keep. Input 8000000 or 8e+6 for 8 million. This option can't be used at the same time with \fB\-p\fR/\-\-percent. Note that the number of tags in output is approximate as the number specified here. REQUIRED .TP \fB\-o\fR OUTPUTFILE Output BED file name. If not specified, will write to standard output. DEFAULT: stdout .TP \fB\-s\fR TSIZE, \fB\-\-tsize\fR=\fITSIZE\fR Tag size. This will overide the auto detected tag size. DEFAULT: Not set .TP \fB\-f\fR FORMAT, \fB\-\-format\fR=\fIFORMAT\fR Format of tag file, "AUTO", "BED" or "ELAND" or "ELANDMULTI" or "ELANDEXPORT" or "SAM" or "BAM" or "BOWTIE". The default AUTO option will let %prog decide which format the file is. Please check the definition in 00README file if you choose ELAND/ELANDMULTI/ELANDEXPORT/SAM/BAM/BOWTIE. DEFAULT: "AUTO" .TP \fB\-\-verbose\fR=\fIVERBOSE\fR Set verbose level. 0: only show critical message, 1: show additional warning message, 2: show process information, 3: show debug messages. If you want to know where are the duplicate reads, use 3. DEFAULT:2