// File: /workspace/github_cpp_makefile_star2_O2/soccin[P]BIC-RNAseq/tools/MergeFusion/StandardFusion.cpp
// Function: StandardFusion::parseDefuse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void StandardFusion::parseDefuse(string line) // problem with strand, not consistent with other callers
{
    vector<string> parsed_item;
    split(line, '\t', parsed_item);
    chr1 = parsed_item[24];
    chr2 = parsed_item[25];
    start1 = atoi(parsed_item[32].c_str());
    start2 = atoi(parsed_item[33].c_str());
    end1 = atoi(parsed_item[26].c_str());
    end2 = atoi(parsed_item[27].c_str());
    breakpoint1 = atoi(parsed_item[37].c_str());
    breakpoint2 = atoi(parsed_item[38].c_str());
    strand1 = parsed_item[39];
    strand2 = parsed_item[40];
    //strand1 = parsed_item[22];
    //strand2 = parsed_item[23];
    gene1 = parsed_item[30];
    gene2 = parsed_item[31];
    transcript1 = "NA";
    transcript2 = "NA";
    spanning_coverage = atoi(parsed_item[56].c_str());
    breakpoint_coverage = atoi(parsed_item[2].c_str());
    total_coverage = spanning_coverage + breakpoint_coverage;
    caller_id = DEFUSE;
    
    info.append("CLUSTER_ID=");info.append(parsed_item[0]);
    info.append(";SPLITR_SPAN_PVALUE="); info.append(parsed_item[3]);
    info.append(";SPLITR_POS_PVALUE="); info.append(parsed_item[4]);
    info.append(";SPLITR_MIN_PVALUE="); info.append(parsed_item[5]);
    info.append(";ADJACENT="); info.append(parsed_item[6]);
    info.append(";ALTSPLICE="); info.append(parsed_item[7]);
    info.append(";BREAK_ADJ_ENTROPY1="); info.append(parsed_item[8]);
    info.append(";BREAK_ADJ_ENTROPY2="); info.append(parsed_item[9]);
    info.append(";BREAK_ADJ_ENTROPY_MIN="); info.append(parsed_item[10]);
    info.append(";BREAKPOINT_HOMOLOGY="); info.append(parsed_item[11]);
    info.append(";BREAKSEQS_ESTISLANDS_PERCIDENT="); info.append(parsed_item[12]);
    info.append(";CDNA_BREAKSEQS_PERCIDENT="); info.append(parsed_item[13]);
    info.append(";DELETION="); info.append(parsed_item[14]);
    info.append(";EST_BREAKSEQS_PERCIDENT="); info.append(parsed_item[15]);
    info.append(";EVERSION="); info.append(parsed_item[16]);
    info.append(";EXONBOUNDARIES="); info.append(parsed_item[17]);
    info.append(";EXPRESSION1="); info.append(parsed_item[18]);
    info.append(";EXPRESS2="); info.append(parsed_item[19]);
    info.append(";GENE_LOCATION1="); info.append(parsed_item[28]);
    info.append(";GENE_LOCATION2="); info.append(parsed_item[29]);
    info.append(";GENOME_BREAKSEQS_PERCIDENT="); info.append(parsed_item[36]);
    info.append(";INTERCHROMOSOMAL="); info.append(parsed_item[41]);
    info.append(";INTERRUPTED_INDEX1="); info.append(parsed_item[42]);
    info.append(";INTERRUPTED_INDEX2="); info.append(parsed_item[43]);
    info.append(";INVERSION="); info.append(parsed_item[44]);
    info.append(";LIBRARY_NAME="); info.append(parsed_item[45]);
    info.append(";MAX_MAP_COUNT="); info.append(parsed_item[46]);
    info.append(";MAX_REPEAT_PROPORTION="); info.append(parsed_item[47]);
    info.append(";MEAN_MAP_COUNT="); info.append(parsed_item[48]);
    info.append(";MIN_MAP_COUNT="); info.append(parsed_item[49]);
    info.append(";NUM_MULTI_MAP="); info.append(parsed_item[50]);
    info.append(";NUM_SPLICE_VARIANTS="); info.append(parsed_item[51]);
    info.append(";ORF="); info.append(parsed_item[52]);
    info.append(";READ_THROUGH="); info.append(parsed_item[53]);
    info.append(";REPEAT_PROPORTION1="); info.append(parsed_item[54]);
    info.append(";REPEAT_PROPORTION2="); info.append(parsed_item[55]);
    info.append(";SPAN_COVERAGE1="); info.append(parsed_item[57]);
    info.append(";SPAN_COVERAGE2="); info.append(parsed_item[58]);
    info.append(";SPAN_COVERAGE_MAX="); info.append(parsed_item[59]);
    info.append(";SPAN_COVERAGE_MIN"); info.append(parsed_item[60]);
    info.append(";SPLICE_SCORE="); info.append(parsed_item[61]);
    info.append(";SPLICING_INDEX1="); info.append(parsed_item[62]);
    info.append(";SPLICING_INDEX2="); info.append(parsed_item[63]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq -0x30(%rbp), %rdx
movaps %xmm0, (%rdx)
andq $0x0, 0x10(%rdx)
pushq $0x9
popq %rsi
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x865f
movl $0x300, %esi            # imm = 0x300
addq -0x30(%rbp), %rsi
leaq 0x8(%rbx), %rdi
callq 0x2120
movl $0x320, %esi            # imm = 0x320
addq -0x30(%rbp), %rsi
leaq 0x28(%rbx), %rdi
callq 0x2120
movq -0x30(%rbp), %r14
movq 0x400(%r14), %rdi
callq 0x2290
movl %eax, 0x48(%rbx)
movq 0x420(%r14), %rdi
callq 0x2290
movl %eax, 0x4c(%rbx)
movq 0x340(%r14), %rdi
callq 0x2290
movl %eax, 0x50(%rbx)
movq 0x360(%r14), %rdi
callq 0x2290
movl %eax, 0x54(%rbx)
movq 0x4a0(%r14), %rdi
callq 0x2290
movl %eax, 0x58(%rbx)
movq 0x4c0(%r14), %rdi
callq 0x2290
movl %eax, 0x5c(%rbx)
addq $0x4e0, %r14            # imm = 0x4E0
leaq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x2120
movl $0x500, %esi            # imm = 0x500
addq -0x30(%rbp), %rsi
leaq 0x80(%rbx), %rdi
callq 0x2120
movl $0x3c0, %esi            # imm = 0x3C0
addq -0x30(%rbp), %rsi
leaq 0xb0(%rbx), %rdi
callq 0x2120
movl $0x3e0, %esi            # imm = 0x3E0
addq -0x30(%rbp), %rsi
leaq 0xd0(%rbx), %rdi
callq 0x2120
leaq 0xf0(%rbx), %rdi
leaq 0x2b35(%rip), %rsi      # 0x9612
callq 0x2360
leaq 0x110(%rbx), %rdi
leaq 0x2b22(%rip), %rsi      # 0x9612
callq 0x2360
movq -0x30(%rbp), %r15
movq 0x700(%r15), %rdi
callq 0x2290
movl %eax, %r14d
movl %eax, 0xa4(%rbx)
movq 0x40(%r15), %rdi
callq 0x2290
movl %eax, 0xa8(%rbx)
addl %r14d, %eax
movl %eax, 0xa0(%rbx)
movl $0x1, (%rbx)
addq $0x130, %rbx            # imm = 0x130
leaq 0x2b5b(%rip), %rsi      # 0x9695
movq %rbx, %rdi
callq 0x2350
movq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2bbd(%rip), %rsi      # 0x9712
movq %rbx, %rdi
callq 0x2350
movq -0x30(%rbp), %rsi
addq $0x60, %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2bb3(%rip), %rsi      # 0x9727
movq %rbx, %rdi
callq 0x2350
movq -0x30(%rbp), %rsi
subq $-0x80, %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2ba8(%rip), %rsi      # 0x973b
movq %rbx, %rdi
callq 0x2350
movl $0xa0, %esi
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b9c(%rip), %rsi      # 0x974f
movq %rbx, %rdi
callq 0x2350
movl $0xc0, %esi
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b87(%rip), %rsi      # 0x975a
movq %rbx, %rdi
callq 0x2350
movl $0xe0, %esi
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b73(%rip), %rsi      # 0x9766
movq %rbx, %rdi
callq 0x2350
movl $0x100, %esi            # imm = 0x100
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b68(%rip), %rsi      # 0x977b
movq %rbx, %rdi
callq 0x2350
movl $0x120, %esi            # imm = 0x120
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b5d(%rip), %rsi      # 0x9790
movq %rbx, %rdi
callq 0x2350
movl $0x140, %esi            # imm = 0x140
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b55(%rip), %rsi      # 0x97a8
movq %rbx, %rdi
callq 0x2350
movl $0x160, %esi            # imm = 0x160
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b4b(%rip), %rsi      # 0x97be
movq %rbx, %rdi
callq 0x2350
movl $0x180, %esi            # imm = 0x180
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b4c(%rip), %rsi      # 0x97df
movq %rbx, %rdi
callq 0x2350
movl $0x1a0, %esi            # imm = 0x1A0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b47(%rip), %rsi      # 0x97fa
movq %rbx, %rdi
callq 0x2350
movl $0x1c0, %esi            # imm = 0x1C0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b32(%rip), %rsi      # 0x9805
movq %rbx, %rdi
callq 0x2350
movl $0x1e0, %esi            # imm = 0x1E0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b2c(%rip), %rsi      # 0x981f
movq %rbx, %rdi
callq 0x2350
movl $0x200, %esi            # imm = 0x200
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b17(%rip), %rsi      # 0x982a
movq %rbx, %rdi
callq 0x2350
movl $0x220, %esi            # imm = 0x220
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2b08(%rip), %rsi      # 0x983b
movq %rbx, %rdi
callq 0x2350
movl $0x240, %esi            # imm = 0x240
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2af6(%rip), %rsi      # 0x9849
movq %rbx, %rdi
callq 0x2350
movl $0x260, %esi            # imm = 0x260
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2ae1(%rip), %rsi      # 0x9854
movq %rbx, %rdi
callq 0x2350
movl $0x380, %esi            # imm = 0x380
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2ad2(%rip), %rsi      # 0x9865
movq %rbx, %rdi
callq 0x2350
movl $0x3a0, %esi            # imm = 0x3A0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2ac3(%rip), %rsi      # 0x9876
movq %rbx, %rdi
callq 0x2350
movl $0x480, %esi            # imm = 0x480
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2ac0(%rip), %rsi      # 0x9893
movq %rbx, %rdi
callq 0x2350
movl $0x520, %esi            # imm = 0x520
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2ab3(%rip), %rsi      # 0x98a6
movq %rbx, %rdi
callq 0x2350
movl $0x540, %esi            # imm = 0x540
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2aa8(%rip), %rsi      # 0x98bb
movq %rbx, %rdi
callq 0x2350
movl $0x560, %esi            # imm = 0x560
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a9d(%rip), %rsi      # 0x98d0
movq %rbx, %rdi
callq 0x2350
movl $0x580, %esi            # imm = 0x580
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a89(%rip), %rsi      # 0x98dc
movq %rbx, %rdi
callq 0x2350
movl $0x5a0, %esi            # imm = 0x5A0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a78(%rip), %rsi      # 0x98eb
movq %rbx, %rdi
callq 0x2350
movl $0x5c0, %esi            # imm = 0x5C0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a68(%rip), %rsi      # 0x98fb
movq %rbx, %rdi
callq 0x2350
movl $0x5e0, %esi            # imm = 0x5E0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a60(%rip), %rsi      # 0x9913
movq %rbx, %rdi
callq 0x2350
movl $0x600, %esi            # imm = 0x600
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a51(%rip), %rsi      # 0x9924
movq %rbx, %rdi
callq 0x2350
movl $0x620, %esi            # imm = 0x620
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a41(%rip), %rsi      # 0x9934
movq %rbx, %rdi
callq 0x2350
movl $0x640, %esi            # imm = 0x640
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a31(%rip), %rsi      # 0x9944
movq %rbx, %rdi
callq 0x2350
movl $0x660, %esi            # imm = 0x660
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a27(%rip), %rsi      # 0x995a
movq %rbx, %rdi
callq 0x2350
movl $0x680, %esi            # imm = 0x680
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2a0d(%rip), %rsi      # 0x9960
movq %rbx, %rdi
callq 0x2350
movl $0x6a0, %esi            # imm = 0x6A0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x29fc(%rip), %rsi      # 0x996f
movq %rbx, %rdi
callq 0x2350
movl $0x6c0, %esi            # imm = 0x6C0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x29f1(%rip), %rsi      # 0x9984
movq %rbx, %rdi
callq 0x2350
movl $0x6e0, %esi            # imm = 0x6E0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x29e6(%rip), %rsi      # 0x9999
movq %rbx, %rdi
callq 0x2350
movl $0x720, %esi            # imm = 0x720
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x29d7(%rip), %rsi      # 0x99aa
movq %rbx, %rdi
callq 0x2350
movl $0x740, %esi            # imm = 0x740
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x29c8(%rip), %rsi      # 0x99bb
movq %rbx, %rdi
callq 0x2350
movl $0x760, %esi            # imm = 0x760
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x29bc(%rip), %rsi      # 0x99cf
movq %rbx, %rdi
callq 0x2350
movl $0x780, %esi            # imm = 0x780
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x29af(%rip), %rsi      # 0x99e2
movq %rbx, %rdi
callq 0x2350
movl $0x7a0, %esi            # imm = 0x7A0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x299e(%rip), %rsi      # 0x99f1
movq %rbx, %rdi
callq 0x2350
movl $0x7c0, %esi            # imm = 0x7C0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq 0x2990(%rip), %rsi      # 0x9a03
movq %rbx, %rdi
callq 0x2350
movl $0x7e0, %esi            # imm = 0x7E0
addq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq -0x30(%rbp), %rdi
callq 0x3e58
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x3e58
movq %rbx, %rdi
callq 0x2300