{
  "checks": [
    {
      "evidence": {
        "history_id": "bbd44e69cb8906b529dc497e1d783b61",
        "url": "https://usegalaxy.org/histories/view?id=bbd44e69cb8906b529dc497e1d783b61"
      },
      "name": "fresh_galaxy_history",
      "status": "pass"
    },
    {
      "evidence": {
        "conditions": {
          "MAQCA": 2,
          "MAQCB": 2
        },
        "layout": "single-end",
        "samples": 4,
        "source_ref": "f2d26a3418adc10d24b5042ad653081a9500245b",
        "source_url": "https://github.com/hoelzer-lab/rnaflow",
        "strandedness": "unstranded"
      },
      "name": "source_metadata",
      "status": "pass"
    },
    {
      "evidence": {
        "non_ok_job_count": 0,
        "ok_job_count": 18
      },
      "name": "all_galaxy_jobs_ok",
      "status": "pass"
    },
    {
      "evidence": {
        "fastq_count": 4,
        "local_read_count_each": 100000
      },
      "name": "fastq_integrity",
      "status": "pass"
    },
    {
      "evidence": [
        {
          "filename": "SRR3670977_sub.fastq.gz",
          "gc_percent": 45,
          "sequence_length": "35-76",
          "total_sequences": 100000
        },
        {
          "filename": "SRR3670978_sub.fastq.gz",
          "gc_percent": 45,
          "sequence_length": "35-76",
          "total_sequences": 100000
        },
        {
          "filename": "SRR3670985_sub.fastq.gz",
          "gc_percent": 45,
          "sequence_length": "35-76",
          "total_sequences": 100000
        },
        {
          "filename": "SRR3670986_sub.fastq.gz",
          "gc_percent": 45,
          "sequence_length": "35-76",
          "total_sequences": 100000
        }
      ],
      "name": "fastqc_basic_stats",
      "status": "pass"
    },
    {
      "evidence": [
        {
          "overall_alignment_rate_percent": 80.48,
          "reads": 100000,
          "sample": "SRR3670977_sub"
        },
        {
          "overall_alignment_rate_percent": 80.59,
          "reads": 100000,
          "sample": "SRR3670978_sub"
        },
        {
          "overall_alignment_rate_percent": 79.72,
          "reads": 100000,
          "sample": "SRR3670985_sub"
        },
        {
          "overall_alignment_rate_percent": 79.6,
          "reads": 100000,
          "sample": "SRR3670986_sub"
        }
      ],
      "name": "hisat2_alignment",
      "status": "pass"
    },
    {
      "evidence": [
        {
          "assigned": 62322,
          "sample": "MAQCA_rep1",
          "unassigned_multimapping": 23985,
          "unassigned_unmapped": 19516
        },
        {
          "assigned": 62228,
          "sample": "MAQCA_rep2",
          "unassigned_multimapping": 23825,
          "unassigned_unmapped": 19408
        },
        {
          "assigned": 62675,
          "sample": "MAQCB_rep1",
          "unassigned_multimapping": 16290,
          "unassigned_unmapped": 20277
        },
        {
          "assigned": 62618,
          "sample": "MAQCB_rep2",
          "unassigned_multimapping": 16513,
          "unassigned_unmapped": 20396
        }
      ],
      "name": "featurecounts_assigned_reads",
      "status": "pass"
    },
    {
      "evidence": {
        "finite_rows": 6744,
        "raw_rows": 28395,
        "significant_padj_lt_0_05": 979
      },
      "name": "deseq2_completed",
      "status": "pass"
    },
    {
      "evidence": {
        "passed": false,
        "reason": "Galaxy DESeq2 output is readable but lacks the exact header names expected by the local DE-table contract and includes NA p-values/padj for filtered genes."
      },
      "name": "raw_de_table_contract",
      "status": "warning"
    },
    {
      "evidence": {
        "passed": true,
        "rows_checked": 6744
      },
      "name": "finite_de_table_contract",
      "status": "pass"
    },
    {
      "evidence": {
        "importable": true,
        "published": true,
        "verified_with": "unauthenticated Galaxy API"
      },
      "name": "history_public_importable",
      "status": "pass"
    },
    {
      "evidence": {
        "fallback": "direct Galaxy API for HISAT2 and DESeq2 nested dataset/collection payloads",
        "primary": "galaxy-cli",
        "reason": "The installed galaxy-cli used during the run did not normalize nested data fields such as library|input_1 for HISAT2."
      },
      "name": "execution_surface",
      "status": "warning"
    },
    {
      "evidence": {
        "note": "Galaxy-native reproduction of RNAflow test data using matching HISAT2, featureCounts, and DESeq2 wrappers; not an exact Nextflow/conda RNAflow execution."
      },
      "name": "method_equivalence",
      "status": "warning"
    }
  ],
  "profile": "rnaseq_differential_expression",
  "status": "warning",
  "summary_metrics": {
    "deseq2_finite_rows": 6744,
    "deseq2_raw_rows": 28395,
    "deseq2_significant_padj_lt_0_05": 979,
    "fastq_samples": 4,
    "featurecounts_assigned_range": [
      62228,
      62675
    ],
    "hisat2_alignment_rate_percent_range": [
      79.6,
      80.59
    ],
    "reads_per_sample": 100000
  },
  "warnings": [
    "Galaxy-native reproduction of RNAflow test data, not an exact Nextflow/conda RNAflow execution.",
    "HISAT2 and DESeq2 used a narrow direct Galaxy API fallback because the installed galaxy-cli did not normalize nested dataset fields during this run.",
    "The raw Galaxy DESeq2 table is readable but includes filtered NA statistics and needed a finite-row header-normalized copy for strict DE-table validation."
  ]
}
