Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 18, 2024
1 parent 2d52a06 commit 5c6421b
Show file tree
Hide file tree
Showing 6 changed files with 304 additions and 144 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,15 @@ exports[`adapter can fetch features bed with autosql 1`] = `
"Variant_Type": "SNP",
"alcohol_history": "--",
"alcohol_intensity": "--",
"blockCount": 1,
"blockSizes": [
1,
],
"bmi": "--",
"case_id": "09454ed6-64bc-4a35-af44-7c4344623d45",
"chromStarts": [
0,
],
"cigarettes_per_day": "--",
"days_to_death": "--",
"dbSNP_RS": "novel",
Expand Down Expand Up @@ -160,6 +167,8 @@ exports[`adapter can fetch features bed with autosql 1`] = `
"uniqueId": "test-ctgA-0-0",
},
],
"thickEnd": 1815757,
"thickStart": 1815756,
"type": undefined,
"uniqueId": "test-ctgA-0",
"weight": "--",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,15 @@ exports[`adapter can fetch features bed with autosql 1`] = `
"Variant_Type": "SNP",
"alcohol_history": "--",
"alcohol_intensity": "--",
"blockCount": 1,
"blockSizes": [
1,
],
"bmi": "--",
"case_id": "09454ed6-64bc-4a35-af44-7c4344623d45",
"chromStarts": [
0,
],
"cigarettes_per_day": "--",
"days_to_death": "--",
"dbSNP_RS": "novel",
Expand Down Expand Up @@ -160,6 +167,8 @@ exports[`adapter can fetch features bed with autosql 1`] = `
"uniqueId": "test-52986-0",
},
],
"thickEnd": 1815757,
"thickStart": 1815756,
"type": undefined,
"uniqueId": "test-52986",
"weight": "--",
Expand Down
8 changes: 4 additions & 4 deletions plugins/bed/src/BigBedAdapter/BigBedAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { firstValueFrom, Observer, toArray } from 'rxjs'

// locals
import {
isUcscProcessedTranscript,
ucscProcessedTranscript,
isUcscTranscript,
generateUcscTranscript,
makeRepeatTrackDescription,
makeBlocks,
arrayify,
Expand Down Expand Up @@ -199,14 +199,14 @@ export default class BigBedAdapter extends BaseFeatureDataAdapter {
})

if (
isUcscProcessedTranscript({
isUcscTranscript({
strand,
blockCount,
thickStart,
description,
})
) {
const f = ucscProcessedTranscript({
const f = generateUcscTranscript({
...rest,
strand,
uniqueId,
Expand Down
Loading

0 comments on commit 5c6421b

Please sign in to comment.