Skip to content

Commit 9be7f44

Browse files
authored
feat: Save cached files to evidence_matching folder (#296)
1 parent 3517c3a commit 9be7f44

File tree

3 files changed

+182247
-11
lines changed

3 files changed

+182247
-11
lines changed
34.4 MB
Binary file not shown.

notebooks/evidence_matching/fusion_evidence_matching.ipynb

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@
208208
"output_type": "stream",
209209
"text": [
210210
"WARNING:cool_seq_tool.mappers.exon_genomic_coords:48406078 on NC_000023.11 occurs more than 150 bp outside the exon boundaries of the NM_005636.4 transcript, indicating this may not be a chimeric transcript junction and is unlikely to represent a contiguous coding sequence. Confirm that the genomic position 48406078 is being used to represent transcript junction and not DNA breakpoint.\n",
211-
"WARNING:fusor.harvester:15 fusion(s) were dropped during translation\n"
211+
"WARNING:fusor.harvester:15 fusion(s) were dropped during translation\n",
212+
"WARNING:fusor.models:Cached fusions file already exists. Overwriting with new file\n"
212213
]
213214
},
214215
{
@@ -228,7 +229,7 @@
228229
"from fusor.models import save_fusions_cache\n",
229230
"\n",
230231
"# Generate categorical fusions list\n",
231-
"harvester = CIVICHarvester(fusor=fusor)\n",
232+
"harvester = CIVICHarvester(fusor=fusor, local_cache_path=\"civic_cache.pkl\")\n",
232233
"harvester.fusions_list = variants\n",
233234
"civic_fusions = await harvester.load_records()\n",
234235
"\n",
@@ -532,24 +533,17 @@
532533
"id": "92b5485c",
533534
"metadata": {},
534535
"outputs": [
535-
{
536-
"name": "stdout",
537-
"output_type": "stream",
538-
"text": [
539-
"Downloading v.2025-06-12.zip...\n"
540-
]
541-
},
542536
{
543537
"name": "stderr",
544538
"output_type": "stream",
545539
"text": [
546-
"519kB [00:00, 4.56MB/s]\n"
540+
"WARNING:fusor.models:Cached fusions file already exists. Overwriting with new file\n"
547541
]
548542
}
549543
],
550544
"source": [
551545
"from fusor.harvester import MOAHarvester\n",
552-
"harvester = MOAHarvester(fusor=fusor, cache_dir=config.data_root)\n",
546+
"harvester = MOAHarvester(fusor=fusor, cache_dir=Path.cwd())\n",
553547
"moa_fusions = harvester.load_records()\n",
554548
"\n",
555549
"# Save cache for later\n",

0 commit comments

Comments
 (0)