.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "RSEM-PLOT-TRANSCRIPT-WIGGLES 1" .TH RSEM-PLOT-TRANSCRIPT-WIGGLES 1 "2018-02-18" "perl v5.26.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" rsem\-plot\-transcript\-wiggles .SH "PURPOSE" .IX Header "PURPOSE" Generate \s-1PDF\s0 wiggle plots from transcript or gene ids .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& rsem\-plot\-transcript\-wiggles [options] sample_name input_list output_plot_file .Ve .SH "ARGUMENTS" .IX Header "ARGUMENTS" .IP "\fBsample_name\fR" 4 .IX Item "sample_name" The name of the sample analyzed. .IP "\fBinput_list\fR" 4 .IX Item "input_list" A list of transcript ids or gene ids. But it cannot be a mixture of transcript & gene ids. Each id occupies one line without extra spaces. .IP "\fBoutput_plot_file\fR" 4 .IX Item "output_plot_file" The file name of the pdf file which contains all plots. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-gene\-list\fR" 4 .IX Item "--gene-list" The input-list is a list of gene ids. (Default: off) .IP "\fB\-\-transcript\-list\fR" 4 .IX Item "--transcript-list" The input-list is a list of transcript ids. This option can only be turned on if allele-specific expression is calculated. (Default: off) .IP "\fB\-\-show\-unique\fR" 4 .IX Item "--show-unique" Show the wiggle plots as stacked bar plots. See description section for details. (Default: off) .IP "\fB\-p/\-\-num\-threads\fR " 4 .IX Item "-p/--num-threads " Set the number of threads we can use. (Default: 1) .IP "\fB\-\-memory\-per\-thread\fR " 4 .IX Item "--memory-per-thread " Set the maximum allowable memory per thread. represents the memory and accepts suffices 'K/M/G'. (Default: 1G) .IP "\fB\-h/\-\-help\fR" 4 .IX Item "-h/--help" Show help information. .SH "DESCRIPTION" .IX Header "DESCRIPTION" This program generates transcript wiggle plots and outputs them in a pdf file. This program can accept either a list of transcript ids or gene ids (if transcript to gene mapping information is provided) and has two modes of showing wiggle plots. If '\-\-show\-unique' is not specified, the wiggle plot for each transcript is a histogram where each position has the expected read depth at this position as its height. If '\-\-show\-unique' is specified, for each transcript a stacked bar plot is generated. For each position, the read depth of unique reads, which have only one alignment, is showed in black. The read depth of multi-reads, which align to more than one places, is showed in red on top of the read depth of unique reads.This program will use some files \s-1RSEM\s0 generated previouslly. So please do not delete/move any file 'rsem\-calculate\-expression' generated. If allele-specific expression is calculated, the basic unit for plotting is an allele-specific transcript and plots can be grouped by either transcript ids (\-\-transcript\-list) or gene ids (\-\-gene\-list). .SH "OUTPUT" .IX Header "OUTPUT" .IP "\fBoutput_plot_file\fR" 4 .IX Item "output_plot_file" This is a pdf file containing all plots generated. If a list of transcript ids is provided, each page display at most 6 plots in 3 rows and 2 columns. If gene ids are provided, each page display a gene. The gene's id is showed at the top and all its transcripts' wiggle plots are showed in this page. The arrangment of plots is determined automatically. For each transcript wiggle plot, the transcript id is displayed as title. x\-axis is position in the transcript and y\-axis is read depth. If allele-specific expression is calculated, the basin unit becomes an allele-specific transcript and transcript ids and gene ids can be used to group allele-specific transcripts. .IP "\fBsample_name.transcript.sorted.bam and sample_name.transcript.readdepth\fR" 4 .IX Item "sample_name.transcript.sorted.bam and sample_name.transcript.readdepth" If these files do not exist, 'rsem\-plot\-transcript\-wiggles' will automatically generate them. .IP "\fBsample_name.uniq.transcript.bam, sample_name.uniq.transcript.sorted.bam and sample_name.uniq.transcript.readdepth\fR" 4 .IX Item "sample_name.uniq.transcript.bam, sample_name.uniq.transcript.sorted.bam and sample_name.uniq.transcript.readdepth" If '\-\-show\-unique' option is specified and these files do not exist, 'rsem\-plot\-transcript\-wiggles' will automatically generate them. .SH "EXAMPLES" .IX Header "EXAMPLES" Suppose sample_name and output_plot_file are set to 'mmliver_single_quals' and 'output.pdf' respectively. input_list is set to 'transcript_ids.txt' if transcript ids are provided, and is set to 'gene_ids.txt' if gene ids are provided. .PP 1) Transcript ids are provided and we just want normal wiggle plots: .PP .Vb 1 \& rsem\-plot\-transcript\-wiggles mmliver_single_quals transcript_ids.txt output.pdf .Ve .PP 2) Gene ids are provided and we want to show stacked bar plots: .PP .Vb 1 \& rsem\-plot\-transcript\-wiggles \-\-gene\-list \-\-show\-unique mmliver_single_quals gene_ids.txt output.pdf .Ve