CONVERT-SAM-FOR-RSEM(1) | User Contributed Perl Documentation | CONVERT-SAM-FOR-RSEM(1) |
convert-sam-for-rsem - Make a RSEM compatible BAM file.
convert-sam-for-rsem [options] <input.sam/input.bam/input.cram> output_file_name
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.
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.
2020-02-17 | perl v5.30.0 |