-
Notifications
You must be signed in to change notification settings - Fork 0
/
structs.wdl
80 lines (71 loc) · 1.75 KB
/
structs.wdl
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
79
80
version 1.0
struct IndexedFile {
File file
File index
}
struct ReadGroup {
#should be unique for multiple samples??
String identifier
File fastq1
File? fastq2
File? fastqUmi
#docs for read structures: https://fulcrumgenomics.github.io/fgbio/tools/1.5.1/ExtractUmisFromBam.html
# Read structures are made up of <number><operator> pairs much like the CIGAR string in BAM files. Four kinds of operators are recognized:
# T identifies a template read
# B identifies a sample barcode read
# M identifies a unique molecular index read
# S identifies a set of bases that should be skipped or ignored
String? readStructureFastq1
#default +T
String? readStructureFastq2
#default +M
String? readStructureFastqUmi
#usually assume library is approximated by sample_barcode1(+barcode2) if not here is your parameter to overwrite
String? library
#[ATCGN]{6+}
String barcode1
String? barcode2
#001 or something
String? run
#HXXXXXXXX or something
String? flowcell
#L000
String? lane
#YYYYMMDD
String? date
#hiseq/miseq etc
String? sequencer
#illumina
String? platform
#
String? platform_model
#
String? sequencing_center
}
struct SampleDescriptor {
String name
String? threeLetterName
String? control
String? gender
Boolean? runTwistUmi
IndexedFile? alignedReads
Array[ReadGroup] readgroups
}
struct SampleConfig {
Array[SampleDescriptor] samples
}
struct BwaIndex {
File fastaFile
File ambFile
File annFile
File bwtFile
File pacFile
File saFile
#placeholder for optional alt stuff
File? altFile
}
struct Reference {
File fasta
File dict
File fai
}