Man page - convert-sam-for-rsem(1)
Packages contains this manual
Manual
CONVERT-SAM-FOR-RSEM
NAMESYNOPSIS
ARGUMENTS
OPTIONS
DESCRIPTION
EXAMPLES
NAME
convert-sam-for-rsem - Make a RSEM compatible BAM file.
SYNOPSIS
convert-sam-for-rsem [options] <input.sam/input.bam/input.cram> output_file_name
ARGUMENTS
input.sam/input.bam/input.cram
The SAM/BAM/CRAM file generated by userās aligner. We require this file contains the header section.
output_file_name
The output name for the converted file. āconvert-sam-for-rsemā will output a BAM with the name āoutput_file_name.bamā.
OPTIONS
-p/--num-threads <int>
Set the number of threads to be used for converting. (Default: 1)
--memory-per-thread <string>
Set the maximum allowable memory per thread. <string> represents the memory and accepts suffices āK/M/Gā. (Default: 1G)
-h/--help
Show help information.
DESCRIPTION
This program converts the SAM/BAM/CRAM file generated by userās aligner into a BAM file which RSEM can process. However, users should make sure their aligners use āreference_name.idx.faā generated by ārsem-prepare-referenceā as their references and output header sections. After the conversion, this program will call ārsem-sam-validatorā to validate the resulting BAM file.
Note: You do not need to run this script if ārsem-sam-validatorā reports that your SAM/BAM/CRAM file is valid.
EXAMPLES
Suppose input is set to āinput.samā and output file name is "output"
convert-sam-for-rsem input.sam output
We will get a file called āoutput.bamā as output.