Skip to content

Add GWAS Catalog study accession ID

Yue Ji requested to merge (removed):main into main
  • /automata/acc.mwt: Add the pattern for GWAS Catalog acc
 <!-- N gwas catalog -->
 <r p1="gwas" p2="contextOnly" p3="" p4="" p5="" p6="REF">
 GCST\s?[0-9]{6,8}
 </r>

Added a new pattern to detect GWAS Catalog study accessions using the format GCST[0-9]{7,8}. To account for occasional use of whitespace (e.g. GCST 0001234), the pattern was adjusted to GCST\s?[0-9]{7,8}.

  • /automata/resources.mwt Pattern for GWAS Catalog resources
<!-- GWAS Catalog -->
<r p1="Rgwas" p2="noval" p3="" p4="" p5="" p6="REF">
(?i)\bGWAS\s+Catalog(ue)?\b
</r>

Updated the GWAS Catalog pattern from GWAS Catalog to (?i)\bGWAS Catalog to enable case-insensitive matching (e.g. "GWAS catalog") while avoiding false positives like "AraGWAS Catalog". Also includes Catalogue spell.

Merge request reports

Loading