NAs in DemultiplexStats.tsv crashes the treatment insertion
If NA values are find in the DemultiplexStats.tsv file, the demultiplexStat treatment is trying to store this value as java.lang.Long.
So, an type error is raised
400 Bad Request - {"default.bcOneMismatch.value":["Mauvais type : java.lang.Long / NA"]}
$VAR1 = bless( {
'default' => {
'bcPerfect' => bless( {
'value' => '7837578',
'_type' => 'single'
}, 'Property' ),
'project' => bless( {
'value' => 'GLYCADAPT',
'_type' => 'single'
}, 'Property' ),
'percentageOfFragment' => bless( {
'value' => '21.12',
'_type' => 'single'
}, 'Property' ),
'bcOneMismatch' => bless( {
'value' => 'NA',
'_type' => 'single'
}, 'Property' ),
'barcodeCount' => bless( {
'value' => '7837578',
'_type' => 'single'
}, 'Property' ),
'barcodeSeq' => bless( {
'value' => 'CGTCTGCG+TTCACAAT',
'_type' => 'single'
}, 'Property' )
},
'categoryCode' => 'sequencing',
'typeCode' => 'illuminaDemultiplexStat',
'code' => 'illuminaDemultiplexStat'
}, 'Treatment' );