Closed fruce-ki closed 7 years ago
Sourcing the workflow script does not run at all. RATs rejects the input sleuth
object:
Relative Abundance of Transcripts v.0.5.0.0
Checking parameters...
Error in slo$kal[[1]]$bootstrap[[1]] : subscript out of bounds
This suggests an error in the input data. Possibly a change in structure for sleuth objects?
Using fish4rodents()
to bypass the sleuth intermediate steps and load the bootstrapped counts directly from the quantification files and then swapping the slo
input argument of call_DTU()
with the boot_data_A
& boot_data_B
arguments, completes the replicate bootstrapping step error-free. In fact, RATs completes it's entire run without errors.
This again suggests the error is specific to the sleuth-based input mode, rather than an internal bug, as all input modes converge onto the same route before any testing even begins.
Looking at the structure of the sleuth
object generated by the workflow script. The expected field names are all there. However, the object contains no bootstrapping data.
Indeed, sleuth
version 0.29 explicitly states in the CHANGELOG that the bootstraps are no longer stored in memory. No alternative option is provided.
Solution options:
We are no longer dependent on sleuth
objects as input, and the other input modes are probably more practical. The choice is between dropping support altogether for this input path, as it no longer offers that unique convenience, or creating a fallback to unbootstrapped mode for sleuth versions >=0.29, while still allowing older versions of sleuth to be used.
Leaning towards dropping support. This would simplify documentation and clarify instructions. Systems that use old sleuth versions are likely to also use old RATs versions.
Investigating error discovered by @nickschurch:
(Data and workflow script sent to me privately)