7d198e9a3d400500ecd285fc87062a2027a6b84a
brianlee
  Fri Mar 7 13:05:11 2025 -0800
Adding h5ad and rds to cdwSubmit

diff --git src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c
index 4ca4c0423b6..95c78a70f13 100644
--- src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c
+++ src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c
@@ -561,30 +561,31 @@
 }
 
 boolean isSupportedFormat(char *format)
 /* Return TRUE if this is one of our supported formats */
 {
 /* First deal with non bigBed */
 static char *otherSupportedFormats[] = {"unknown", "fastq", "bam", "bed", "gtf", 
     "bam.bai", "vcf.gz.tbi",
     "bigWig", "bigBed", 
     "bedLogR", "bedRrbs", "bedMethyl", "broadPeak", "narrowPeak", 
     "bed_bedLogR", "bed_bedRrbs", "bed_bedMethyl", "bed_broadPeak", "bed_narrowPeak",
     "bedRnaElements", "openChromCombinedPeaks", "peptideMapping", "shortFrags", 
     "rcc", "idat", "fasta", "customTrack", "pdf", "png", "vcf", "cram", "jpg", "text", "html",
     "tsv", "csv",
     "raw", "xls",
+    "h5ad", "rds",
     "tif", "avi",
     "kallisto_abundance", "expression_matrix",
     };
 static int otherSupportedFormatsCount = ArraySize(otherSupportedFormats);
 if (stringArrayIx(format, otherSupportedFormats, otherSupportedFormatsCount) >= 0)
     return TRUE;
 
 /* If starts with bed_ then skip over prefix.  It will be caught by bigBed */
 if (startsWith("bed_", format))
     format += 4;
 return cdwIsSupportedBigBedFormat(format);
 }
 
 void prefetchChecks(char *format, char *fileName, char *submitDir)
 /* Perform some basic format checks. */