-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClothoEdit.txt
78 lines (68 loc) · 1.6 KB
/
ClothoEdit.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
ClothoEdit.txt
Author: Jason Lu (jasonlu6@bu.edu)
# this file was made to assure alignment for my code,
# which is made as a fix for the JSON Token Error
# from the RAML compiler.
# Edit 1: homepage method
properties:
# username for Clotho
username: string
# password for Clotho
password: string
example: |
{
"username": "jsmith",
"password": "allstar"
}
# Edit 2: createPart method
properties:
# username for Clotho
# password for Clotho
# object name to create
# id to use for existing sequence
username: string
password: string
objectName: string
seqId: number
example: |
{
"username": "jsmith",
"password": "overwatch",
"objectName": "Test Part",
"seqId": 321
}
# Edit 3: createConveniencePart
properties:
# username for Clotho
# object name for Clotho to create
# sequence to put into mongoDB
# role for the sequence
username: string
objectName: string
sequence: string
roleSequence: string
example: |
{
"username": "jsmith",
"objectName": "Test Convenience Part",
"sequence": "tccctatcagtgatagagattgacatccctatcagtgatagagatac",
"roleSequence": "GENE"
}
# Edit 4: createConvenienceDevice
properties:
# username for Clotho
# object name for Clotho to create
# sequence to put into mongoDB (may be duplicated)
# role for the sequence
# part-IDs: id for the part of device (array)
username: string
objectName: string
sequence: string
roleSequence: string
example: |
{
"username": "jsmith",
"objectName": "Test Convenience Device",
"sequence": "actacttcgcatcatgttcatca",
"roleSequence": "GENE"
}