Research Article

Sequence Fusion Algorithm of Tumor Gene Sequencing and Alignment Based on Machine Learning

Algorithm 1

Fusion reasoning algorithm flow.
Input: Samtools processed file
Output: Fused sequence file
library(Rsamtools)
bamFilebwa < - BamFile(“samtool.sort.bam”)
alnbwa < - scanBam(bamFilesamtool)[[1]]
While (i is less than the maximum chromosome position information in Bam file) {
If () { wirte bam file}
If (&& count > k) { wirte bam file}
If (&& reference PCR) { wirte bam file}
If (&& reference PCR) { wirte bam file}
}