";
string1 = string1 + "";
string1 = string1 + projectName+" ";
string1 = string1 + " | ";
string1 = string1 + "";
string1 = string1 + "";
string1 = string1 + "";
string1 = string1 + "";
string1 = string1 + " | ";
string1 = string1 + " | ";
if (file_list.indexOf(fig_linear_CNV_SNP+"png") != -1) {
mainFigure1 = fig_linear_CNV_SNP;
} else if (file_list.indexOf(fig_linear_CNV+"png") != -1) {
mainFigure1 = fig_linear_CNV;
} else if (file_list.indexOf(fig_linear_SNP+"png") != -1) {
mainFigure1 = fig_linear_SNP;
}
console.log("## "+figVer_);
console.log("## "+fig_linear_CNV_SNP+"png");
console.log("## "+fig_linear_CNV+"png");
console.log("## "+fig_linear_SNP+"png");
if (file_list.indexOf(fig_linear_CNV_SNP+"png") != -1) {
string1 = string1 + "CNV and SNP/LOH (linear ";
string1 = string1 + " ";
string1 = string1 + "";
string1 = string1 + " or standard ";
string1 = string1 + " ";
string1 = string1 + "";
if (file_list.indexOf(fig_linear_manual+"png") != -1) {
string1 = string1 + " or Linear-Manual ";
string1 = string1 + " ";
string1 = string1 + "";
}
string1 = string1 + ")";
//if ((file_list.indexOf(fig_linear_CNV+"png") != -1) || (file_list.indexOf(fig_linear_SNP+"png") != -1)) {
// string1 = string1 + " ";
//}
}
if (file_list.indexOf(fig_linear_CNV_SNP_RedGreen+"png") != -1) {
string1 = string1 + "; alternate colors (lin. ";
string1 = string1 + " ";
string1 = string1 + "";
string1 = string1 + " or sta. ";
string1 = string1 + " ";
string1 = string1 + "";
string1 = string1 + ")";
if ((file_list.indexOf(fig_linear_CNV+"png") != -1) || (file_list.indexOf(fig_linear_SNP+"png") != -1)) {
string1 = string1 + " ";
}
}
if (file_list.indexOf(fig_linear_CNV+"png") != -1) {
string1 = string1 + " CNV only (lin. ";
string1 = string1 + " ";
string1 = string1 + "";
string1 = string1 + " or sta. ";
string1 = string1 + " ";
string1 = string1 + "";
string1 = string1 + ")";
if (file_list.indexOf(fig_linear_SNP+"png") != -1) {
string1 = string1 + "";
}
}
var CGD_tracks_present = false;
// Show CNV bias figure for SnpCghArray, WGseq, and ddRADseq.
if ((file_list.indexOf(CNV_bias_SnpCghArray_GCcontent+"png") != -1) || (file_list.indexOf(CNV_bias_SnpCghArray_end+"png") != -1)) {
string1 = string1 + "; CNV biases ";
if (file_list.indexOf(CNV_bias_SnpCghArray_GCcontent+"png") != -1) {
string1 = string1 + "";
}
if (file_list.indexOf(CNV_bias_SnpCghArray_end+"png") != -1) {
string1 = string1 + "";
}
}
if ((file_list.indexOf(CNV_bias_WGseq_end+"png") != -1) || (file_list.indexOf(CNV_bias_WGseq_GCcontent+"png") != -1)) {
string1 = string1 + "; CNV biases ";
if (file_list.indexOf(CNV_bias_WGseq_GCcontent+"png") != -1) {
string1 = string1 + "";
}
if (file_list.indexOf(CNV_bias_WGseq_end+"png") != -1) {
string1 = string1 + "";
}
}
if (file_list.indexOf(fig_linear_CNV_highTop+"png") != -1) {
string1 = string1 + "; CNV ";
string1 = string1 + "";
}
if ((file_list.indexOf(CNV_bias_ddRADseq_1+"png") != -1) || (file_list.indexOf(CNV_bias_ddRADseq_2+"png") != -1) || (file_list.indexOf(CNV_bias_ddRADseq_3+"png") != -1)) {
string1 = string1 + "; CNV biases ";
if (file_list.indexOf(CNV_bias_ddRADseq_1) != -1) {
string1 = string1 + "";
}
if (file_list.indexOf(CNV_bias_ddRADseq_2) != -1) {
string1 = string1 + "";
}
if (file_list.indexOf(CNV_bias_ddRADseq_3) != -1) {
string1 = string1 + "";
}
}
if (file_list.indexOf(CGD_CNV_track+"gff3") != -1) {
string1 += "; GBrowse CNV track";
CGD_tracks_present = true;
}
if (file_list.indexOf(fig_linear_SNP+"png") != -1) {
string1 = string1 + " SNP/LOH only (lin. ";
string1 = string1 + " ";
string1 = string1 + "";
string1 = string1 + " or sta. ";
string1 = string1 + " ";
string1 = string1 + "";
string1 = string1 + ")";
}
// Show allelic ratio plot version for ddRADseq and WGseq.
if ((file_list.indexOf(fig_linear_SNPratio_histogram+"png") != -1) || (file_list.indexOf(fig_linear_SNPratio_fireplot+"png") != -1)) {
string1 = string1 + "; SNP ratios ";
if (file_list.indexOf(fig_linear_SNPratio_histogram+"png") != -1) {
string1 = string1 + "";
}
if (file_list.indexOf(fig_linear_SNPratio_fireplot+"png") != -1) {
string1 = string1 + "";
}
}
if (file_list.indexOf(CGD_SNP_track+"bed") != -1) {
string1 += "; GBrowse allele ratio track";
CGD_tracks_present = true;
}
if (CGD_tracks_present) {
string1 += " (Help on importing tracks into GBrowse)";
}
string1 = string1 + "";
var string2 = " | [X] |
";
var string3 = "