Skip to content

Commit dfbc4d3

Browse files
committed
Fix tagging regex for optional suffixes
1 parent fb4d311 commit dfbc4d3

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

topics/transcriptomics/tutorials/ref-based/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,8 +1621,8 @@ DESeq2 requires to provide for each factor, counts of samples in each category.
16211621
> - {% icon param-file %} *"File to process"*: output of **Extract element identifiers** {% icon tool %}
16221622
> - In *"Replacement"*:
16231623
> - In *"1: Replacement"*
1624-
> - *"Find pattern"*: `(.*)_(.*)_(.*)_(.*)`
1625-
> - *"Replace with"*: `\1_\2_\3_\4\tgroup:\2\tgroup:\3`
1624+
> - *"Find pattern"*: `^([^_]+)_([^_]+)_([^_]+)(_.+)?$`
1625+
> - *"Replace with"*: `\1_\2_\3\4\tgroup:\2\tgroup:\3`
16261626
>
16271627
> This step creates 2 additional columns with the type of treatment and sequencing that can be used with the {% tool [Tag elements](__TAG_FROM_FILE__) %} tool
16281628
>

topics/transcriptomics/tutorials/ref-based/tutorial_DE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,8 +1523,8 @@ DESeq2 verlangt, dass für jeden Faktor die Anzahl der Proben in jeder Kategorie
15231523
> - {% icon param-file %} *"Zu verarbeitende Datei "*: Ausgabe von **Elementbezeichner extrahieren** {% icon tool %}
15241524
> - In *"Replacement "*:
15251525
> - In *"1: Ersetzung "*
1526-
> - *"Muster finden "*: `(.*)_(.*)_(.*)`
1527-
> - *"Ersetzen durch "*: `\1_\2_\3\tgroup:\2\tgroup:\3`
1526+
> - *"Muster finden "*: `^([^_]+)_([^_]+)_([^_]+)(_.+)?$`
1527+
> - *"Ersetzen durch "*: `\1_\2_\3\4\tgroup:\2\tgroup:\3`
15281528
>
15291529
> Dieser Schritt erstellt 2 zusätzliche Spalten mit der Art der Behandlung und der Sequenzierung, die mit dem {% tool [Tag elements](__TAG_FROM_FILE__) %} tool verwendet werden können
15301530
>

topics/transcriptomics/tutorials/ref-based/tutorial_ES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,8 +1530,8 @@ DESeq2 requiere proporcionar para cada factor, recuentos de muestras en cada cat
15301530
> - {% icon param-file %} *"Fichero a procesar "*: salida de **Extraer identificadores de elementos** {% icon tool %}
15311531
> - En *"Replacement "*:
15321532
> - En *"1: Replacement "*
1533-
> - *"Find pattern "*: `(.*)_(.*)_(.*)`
1534-
> - *"Replace with "*: `\1_\2_\3\tgroup:\2\tgroup:\3`
1533+
> - *"Find pattern "*: `^([^_]+)_([^_]+)_([^_]+)(_.+)?$`
1534+
> - *"Replace with "*: `\1_\2_\3\4\tgroup:\2\tgroup:\3`
15351535
>
15361536
> Este paso crea 2 columnas adicionales con el tipo de tratamiento y secuenciación que pueden utilizarse con la herramienta {% tool [Tag elements](__TAG_FROM_FILE__) %} tool
15371537
>

topics/transcriptomics/tutorials/ref-based/tutorial_IT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,8 +1517,8 @@ DESeq2 richiede di specificare, per ciascun fattore sperimentale, i conteggi dei
15171517
> - {% icon param-file %} *"File to process"*: output di **Extract element identifiers** {% icon tool %}
15181518
> - In *"Replacement "*:
15191519
> - In *"1: Replacement "*
1520-
> - *"Find pattern"*: `(.*)_(.*)_(.*)`
1521-
> - *"Replace with"*: `\1_\2_\3\tgroup:\2\tgroup:\3`
1520+
> - *"Find pattern"*: `^([^_]+)_([^_]+)_([^_]+)(_.+)?$`
1521+
> - *"Replace with"*: `\1_\2_\3\4\tgroup:\2\tgroup:\3`
15221522
>
15231523
> Questo passaggio crea 2 colonne aggiuntive con il tipo di trattamento e di sequenziamento che possono essere utilizzate con lo strumento {% tool [Elementi tag](__TAG_FROM_FILE__) %}
15241524
>

0 commit comments

Comments
 (0)