Yun Wang
08/05/2025, 6:45 AMschema_input.json for them to something like
"RNA_ID": {
"oneOf": [
{
"type": "string",
"pattern": "^\\S+$"
},
{
"type": "number"
}
],
but very soon I found out this seems cause error later in channel join steps, to be more specific, i got error like
Join mismatch for the following entries: key=[id:kremer, drop_group:kremer, samples:35834,57415, …, group_size:119] values=
this would not happen if I remove those samples whose IDs are numbers.
So it seems join can not handle the cases where there are numbers in the key?
@Nicolas Vannieuwkerke in your experience, shall we avoid number as ID at all?Nicolas Vannieuwkerke
08/05/2025, 7:29 AM"RNA_ID": {
"type": ["string", "integer"],
"pattern": "^\\S+$"
}
The join issues can be fixed by manually casting all entries of RNA_ID (and probably DNA_ID too) to a string right after reading in the samplesheet.Nicolas Vannieuwkerke
08/05/2025, 7:29 AMYun Wang
08/05/2025, 7:53 AMNicolas Vannieuwkerke
08/05/2025, 7:59 AMNicolas Vannieuwkerke
08/05/2025, 7:59 AMYun Wang
08/05/2025, 12:19 PMNicolas Vannieuwkerke
08/05/2025, 12:29 PMid: meta.id as String,
dna_id: meta.dna_id as String,