The RF RCTools module enables easy visualization/manipulation of RC files. It allows indexing, merging and dumping RC files.
This tool is particularly useful when the same sample is sequenced more than one time to increase its coverage. Now, instead of merging the BAM files and re-calling the rf-count on the whole dataset (that is very time-consuming), each sample can be processed independently and simply merged to the RC file from the previous analysis.


To list the required parameters, simply type:

$ rf-rctools [tool] -h

Available tools are: index, view and merge

Parameter Tool Type Description
-t or --tab view Switches to tabular output format
-o or --output merge string Output RC filename (Default: merge.rc)
-ow or --overwrite merge Overwrites output file (if the specified file already exists)
-i or __--index_ merge string[,string] A comma separated (no spaces) list of RCI index files for the provided RC files
Note: RCI files must be provided in the same order as RC files. If a single RCI file is specified along with multiple RC files, it will be used for all of them.
-T or --tmp-dir merge string Temporary directory (Default: /tmp)

## RCTools "view" output
By default, the view command produces an output structured as follows:



in which each transcript is reported as a 4-rows entry, with rows ordered as follows:

  • Transcript ID
  • Transcript sequence
  • Number of per-base RT-stops (or mutations)
  • Per-base coverage

When the -t parameter is specified, the output is instead structured as follows:

A       0       242
G       0       280
C       0       359
G       3       390
A       1038    56642
T       112     65943
T       96      66134
A       1135    74888

T       185     100294
G       205     100831
G       185     101003
A       1458    101124
A       2529    101509
A       2984    101819
G       227     103858
A       2937    105307

C       0       945
G       13      990
A       3       1064
A       5       1893
A       3       2333
G       36      2648
C       25      2993
A       30      14274

in which each transcript is reported as a multi-row entry (with the number of rows equal to transcript's length). Each row is made of 3 tab-spaced fields, ordered as follows:

  • Base
  • Number of RT-stops (or mutations)
  • Coverage

Consecutive entries are separated by a newline.