First, thank you for creating SIRVsuite—it has been incredibly helpful for our SIRV spike-in control analysis, and we plan to continue using it extensively.
I have tested SIRVsuite on two datasets so far:
- First Dataset:
Initially encountered an ERCC Key Error.
After checking the GitHub issues, I implemented the .get() suggestion in ERCC_correlation.py, which resolved the issue.
2 . Second Dataset:
Encountered an SIRV Key Error in SIRV_concentration.py.
I attempted modifications in SIRV_concentration.py, but the issue persists.
Here is the error message:
-2025-02-12 11:46:44 INFO helper: reading sample sheet
Traceback (most recent call last):
File "/usr/local/bin/SIRVsuite", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/SIRVsuite/SIRVsuite.py", line 69, in main
module_concentration = SIRVsuiteConcentration(sample_sheet=input_dict["SIRV-concentration"], output_dir=out)
File "/usr/local/lib/python3.8/site-packages/SIRVsuite/Pipeline/Concentration/SIRV_concentration.py", line 63, in __init__
self.export_data(self.data)
File "/usr/local/lib/python3.8/site-packages/SIRVsuite/Pipeline/Concentration/SIRV_concentration.py", line 187, in export_data
out_file.write(transcript+"\t"+"\t".join([str(norm_abund_dict[group][transcript]) for group in groups])+"\n")
File "/usr/local/lib/python3.8/site-packages/SIRVsuite/Pipeline/Concentration/SIRV_concentration.py", line 187, in <listcomp>
out_file.write(transcript+"\t"+"\t".join([str(norm_abund_dict[group][transcript]) for group in groups])+"\n")
KeyError: 'SIRV107'
Do you have any suggestions for resolving this SIRV Key Error?
Thanks in advance for your help!
First, thank you for creating SIRVsuite—it has been incredibly helpful for our SIRV spike-in control analysis, and we plan to continue using it extensively.
I have tested SIRVsuite on two datasets so far:
Initially encountered an ERCC Key Error.
After checking the GitHub issues, I implemented the
.get()suggestion inERCC_correlation.py, which resolved the issue.2 . Second Dataset:
Encountered an SIRV Key Error in
SIRV_concentration.py.I attempted modifications in
SIRV_concentration.py, but the issue persists.Here is the error message:
Do you have any suggestions for resolving this SIRV Key Error?
Thanks in advance for your help!