785dd09a1e759574be2d6e8235a009bea57525ce
brianlee
  Tue Mar 25 14:16:58 2025 -0700
Adding txt to SSPsyGene format for new extended Hoffman dataset

diff --git src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c
index 73ad048b703..36aba8bc496 100644
--- src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c
+++ src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c
@@ -559,31 +559,31 @@
     if (!isalnum(c) && c != '_' && c != '-' && c != '.' && c != '/' && c != '+') 
         errAbort("Character '%c' (binary %d) not allowed in fileName '%s'", c, (int)c, fileName);
 }
 
 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",
+    "txt", "tsv", "csv",
     "raw", "xls", "xlsx",
     "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);
 }