// File: soccin[P]BIC-RNAseq/tools/MergeFusion/StandardFusion.cpp
// Function: StandardFusion::parseStar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void StandardFusion::parseStar(string line)  //done
{
    vector<string> parsed_item;
    split(line, '\t', parsed_item);
    chr1 = parsed_item[0];
    chr2 = parsed_item[3];
    start1 = -1;
    start2 = -1;
    end1 = -1;
    end2 = -1;
    breakpoint1 = atoi(parsed_item[1].c_str());
    breakpoint2 = atoi(parsed_item[4].c_str());
    strand1 = parsed_item[2];
    strand2 = parsed_item[5];
    breakpoint_coverage = 1;
    spanning_coverage = -1;
    total_coverage = -1;
    gene1 = "NA";
    gene2 = "NA";
    transcript1 = "NA";
    transcript2 = "NA";
    caller_id = STAR;
    
    info.append("JUNCTION_TYPE="); info.append(parsed_item[6]);
    info.append(";REPEAT_LEFT="); info.append(parsed_item[7]);
    info.append(";REPEAT_RIGHT="); info.append(parsed_item[8]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rsi, -0x48(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x28(%rbp), %rdi
movq %rdi, -0x40(%rbp)
callq 0x7190
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rdx
movl $0x9, %esi
xorl %ecx, %ecx
callq 0x135a0
jmp 0x11f3f
xorl %eax, %eax
movl %eax, %esi
leaq -0x28(%rbp), %rdi
callq 0x71b0
movq -0x50(%rbp), %rdi
movq %rax, %rsi
addq $0x8, %rdi
callq 0x3040
jmp 0x11f5e
leaq -0x28(%rbp), %rdi
movl $0x3, %esi
callq 0x71b0
movq -0x50(%rbp), %rdi
movq %rax, %rsi
addq $0x28, %rdi
callq 0x3040
jmp 0x11f7e
movq -0x50(%rbp), %rax
movl $0xffffffff, 0x48(%rax) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x4c(%rax) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x50(%rax) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x54(%rax) # imm = 0xFFFFFFFF
leaq -0x28(%rbp), %rdi
movq %rdi, -0x58(%rbp)
movl $0x1, %esi
callq 0x71b0
movq %rax, %rdi
callq 0x3120
movq %rax, %rdi
callq 0x33e0
movq -0x58(%rbp), %rdi
movl %eax, %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0x58(%rax)
movl $0x4, %esi
callq 0x71b0
movq %rax, %rdi
callq 0x3120
movq %rax, %rdi
callq 0x33e0
movq -0x58(%rbp), %rdi
movl %eax, %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0x5c(%rax)
movl $0x2, %esi
callq 0x71b0
movq -0x50(%rbp), %rdi
movq %rax, %rsi
addq $0x60, %rdi
callq 0x3040
jmp 0x12010
leaq -0x28(%rbp), %rdi
movl $0x5, %esi
callq 0x71b0
movq -0x50(%rbp), %rdi
movq %rax, %rsi
subq $-0x80, %rdi
callq 0x3040
jmp 0x12030
movq -0x50(%rbp), %rdi
movl $0x1, 0xa8(%rdi)
movl $0xffffffff, 0xa4(%rdi) # imm = 0xFFFFFFFF
movl $0xffffffff, 0xa0(%rdi) # imm = 0xFFFFFFFF
addq $0xb0, %rdi
leaq 0x3569(%rip), %rsi      # 0x155c9
callq 0x3370
jmp 0x12067
movq -0x50(%rbp), %rdi
addq $0xd0, %rdi
leaq 0x3550(%rip), %rsi      # 0x155c9
callq 0x3370
jmp 0x12080
movq -0x50(%rbp), %rdi
addq $0xf0, %rdi
leaq 0x3537(%rip), %rsi      # 0x155c9
callq 0x3370
jmp 0x12099
movq -0x50(%rbp), %rdi
addq $0x110, %rdi            # imm = 0x110
leaq 0x351e(%rip), %rsi      # 0x155c9
callq 0x3370
jmp 0x120b2
movq -0x50(%rbp), %rdi
movl $0x5, (%rdi)
addq $0x130, %rdi            # imm = 0x130
leaq 0x3b47(%rip), %rsi      # 0x15c11
callq 0x34c0
jmp 0x120d1
movq -0x50(%rbp), %rax
addq $0x130, %rax            # imm = 0x130
movq %rax, -0x60(%rbp)
leaq -0x28(%rbp), %rdi
movl $0x6, %esi
callq 0x71b0
movq -0x60(%rbp), %rdi
movq %rax, %rsi
callq 0x34d0
jmp 0x120fb
movq -0x50(%rbp), %rdi
addq $0x130, %rdi            # imm = 0x130
leaq 0x3b13(%rip), %rsi      # 0x15c20
callq 0x34c0
jmp 0x12114
movq -0x50(%rbp), %rax
addq $0x130, %rax            # imm = 0x130
movq %rax, -0x68(%rbp)
leaq -0x28(%rbp), %rdi
movl $0x7, %esi
callq 0x71b0
movq -0x68(%rbp), %rdi
movq %rax, %rsi
callq 0x34d0
jmp 0x1213e
movq -0x50(%rbp), %rdi
addq $0x130, %rdi            # imm = 0x130
leaq 0x3ade(%rip), %rsi      # 0x15c2e
callq 0x34c0
jmp 0x12157
movq -0x50(%rbp), %rax
addq $0x130, %rax            # imm = 0x130
movq %rax, -0x70(%rbp)
leaq -0x28(%rbp), %rdi
movl $0x8, %esi
callq 0x71b0
movq -0x70(%rbp), %rdi
movq %rax, %rsi
callq 0x34d0
jmp 0x12181
leaq -0x28(%rbp), %rdi
callq 0x72e0
addq $0x70, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x72e0
movq -0x30(%rbp), %rdi
callq 0x3470
nop