|
| 1 | +import type { DatasetProfile } from '../types'; |
| 2 | +import { P } from '../types'; |
| 3 | + |
| 4 | +export const ALIGNMENT_PROFILES: DatasetProfile[] = [ |
| 5 | + P({ |
| 6 | + id: 'alignment-angulartesting-fasta', |
| 7 | + title: 'Alignment: FASTA launch then switch renders the sequence canvas', |
| 8 | + tags: ['alignment', 'load-to-alignment', 'fasta', 'snps'], |
| 9 | + files: [ |
| 10 | + { |
| 11 | + name: 'AngularTesting_seqs_TN93_BS.fasta', |
| 12 | + datatype: 'fasta', |
| 13 | + }, |
| 14 | + ], |
| 15 | + preLaunch: { |
| 16 | + metric: 'snps', |
| 17 | + threshold: 16, |
| 18 | + defaultView: '2D Network', |
| 19 | + }, |
| 20 | + expectations: { |
| 21 | + afterLaunch: { |
| 22 | + nodes: 14, |
| 23 | + visibleLinks: 11, |
| 24 | + }, |
| 25 | + alignment: { |
| 26 | + visibleSequences: 14, |
| 27 | + excludedNodeIds: [], |
| 28 | + }, |
| 29 | + }, |
| 30 | + }), |
| 31 | + P({ |
| 32 | + id: 'alignment-angulartesting-sequence-node-list', |
| 33 | + title: 'Alignment: sequence node list launch then switch renders deterministic labels and canvas state', |
| 34 | + tags: ['alignment', 'load-to-alignment', 'node', 'tn93'], |
| 35 | + files: [ |
| 36 | + { |
| 37 | + name: 'AngularTesting_nodelist_withseqs_TN93_BS.csv', |
| 38 | + datatype: 'node', |
| 39 | + field1: '_id', |
| 40 | + field2: 'seq', |
| 41 | + }, |
| 42 | + ], |
| 43 | + preLaunch: { |
| 44 | + metric: 'tn93', |
| 45 | + threshold: 0.015, |
| 46 | + defaultView: '2D Network', |
| 47 | + }, |
| 48 | + expectations: { |
| 49 | + afterLaunch: { |
| 50 | + nodes: 14, |
| 51 | + visibleLinks: 17, |
| 52 | + clusters: 2, |
| 53 | + singletons: 2, |
| 54 | + }, |
| 55 | + alignment: { |
| 56 | + visibleSequences: 14, |
| 57 | + excludedNodeIds: [], |
| 58 | + }, |
| 59 | + }, |
| 60 | + }), |
| 61 | + P({ |
| 62 | + id: 'alignment-covid-node-link-excluded', |
| 63 | + title: 'Alignment: node plus distance-link launch then switch excludes missing sequences and keeps the sequence canvas stable', |
| 64 | + tags: ['alignment', 'load-to-alignment', 'node-link', 'snps'], |
| 65 | + files: [ |
| 66 | + { |
| 67 | + name: 'COVID-19_simulated_NodeList_snp.csv', |
| 68 | + datatype: 'node', |
| 69 | + field1: 'ID', |
| 70 | + field2: 'seq', |
| 71 | + }, |
| 72 | + { |
| 73 | + name: 'COVID_Dummy_distance_edgelist_snp.csv', |
| 74 | + datatype: 'link', |
| 75 | + field1: 'source', |
| 76 | + field2: 'target', |
| 77 | + field3: 'distance', |
| 78 | + }, |
| 79 | + ], |
| 80 | + preLaunch: { |
| 81 | + metric: 'snps', |
| 82 | + threshold: 16, |
| 83 | + defaultView: '2D Network', |
| 84 | + }, |
| 85 | + expectations: { |
| 86 | + afterLaunch: { |
| 87 | + nodes: 33, |
| 88 | + visibleLinks: 46, |
| 89 | + clusters: 4, |
| 90 | + singletons: 13, |
| 91 | + }, |
| 92 | + alignment: { |
| 93 | + visibleSequences: 30, |
| 94 | + excludedNodeIds: ['P1', 'P2', 'P3'], |
| 95 | + }, |
| 96 | + }, |
| 97 | + }), |
| 98 | +]; |
0 commit comments