Skip to content

Commit

Permalink
GSvar: added CNV reference correlation to sample table in run tab
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-sturm committed Nov 15, 2023
1 parent f7d63af commit 87f94ba
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
4 changes: 3 additions & 1 deletion src/GSvar/GSvar.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,7 @@
<file>Icons/Virus.png</file>
<file>Icons/IGV_active.png</file>
<file>Resources/CCR_supported_genes.txt</file>
<file>Resources/CCR80_GRCh38.bed</file> </qresource>
<file>Resources/CCR80_GRCh38.bed</file>
<file>Icons/NovaSeqX.png</file>
</qresource>
</RCC>
Binary file added src/GSvar/Icons/NovaSeqX.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/GSvar/SequencingRunWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SequencingRunWidget::SequencingRunWidget(QWidget* parent, QString run_id)
connect(ui_->email_btn, SIGNAL(clicked(bool)), this, SLOT(sendStatusEmail()));
connect(ui_->mid_check_btn, SIGNAL(clicked(bool)), this, SLOT(checkMids()));
connect(ui_->samples, SIGNAL(rowDoubleClicked(int)), this, SLOT(openSampleTab(int)));
connect(ui_->b_export_sample_sheet, SIGNAL(clicked(bool)), this, SLOT(exportSampleSheet()));
connect(ui_->novaseqx_samplesheet_btn, SIGNAL(clicked(bool)), this, SLOT(exportSampleSheet()));
QAction* action = new QAction(QIcon(":/Icons/NGSD_sample.png"), "Open processed sample tab", this);
ui_->samples->addAction(action);
connect(action, SIGNAL(triggered(bool)), this, SLOT(openSelectedSampleTabs()));
Expand Down Expand Up @@ -81,7 +81,7 @@ void SequencingRunWidget::updateGUI()
ui_->backup->setText(query.value("backup_done").toString()=="1" ? "yes" : "no");

//#### activate SampleSheet ####
ui_->b_export_sample_sheet->setEnabled((query.value("d_type").toString() == "NovaSeqXPlus") || (query.value("d_type").toString() == "NovaSeqX"));
ui_->novaseqx_samplesheet_btn->setEnabled((query.value("d_type").toString() == "NovaSeqXPlus") || (query.value("d_type").toString() == "NovaSeqX"));

//#### run quality ####
updateReadQualityTable();
Expand Down Expand Up @@ -528,6 +528,7 @@ void SequencingRunWidget::setQCMetricAccessions(const QSet<QString>& sample_type
if (sample_types.contains("DNA") || sample_types.contains("DNA (amplicon)") || sample_types.contains("DNA (native)"))
{
qc_metric_accessions_ << "QC:2000113"; // CNV count
qc_metric_accessions_ << "QC:2000114"; // CNV coverage profile correlation
}

if (sample_types.contains("RNA"))
Expand Down
31 changes: 14 additions & 17 deletions src/GSvar/SequencingRunWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,20 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="novaseqx_samplesheet_btn">
<property name="toolTip">
<string>Export NovaSeq X sample sheet</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="GSvar.qrc">
<normaloff>:/Icons/NovaSeqX.png</normaloff>:/Icons/NovaSeqX.png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
Expand Down Expand Up @@ -554,23 +568,6 @@
</property>
</widget>
</item>
<item row="0" column="9">
<widget class="QPushButton" name="b_export_sample_sheet">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Export SampleSheet for illumina NovaSeq X (Plus)</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="GSvar.qrc">
<normaloff>:/Icons/Table.png</normaloff>:/Icons/Table.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
Expand Down

0 comments on commit 87f94ba

Please sign in to comment.