-
Notifications
You must be signed in to change notification settings - Fork 0
/
error_log.txt
2199 lines (1830 loc) · 71.7 KB
/
error_log.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Unexpected error: 'RetrieverBuilder' object has no attribute 'invoke'
Error during parsing: Failed to parse CWLDocument from completion # "VDJtools Calc Spectratype" CWL File
## Section 1: CWL File Contents
```yaml
cwlVersion: v1.2
class: CommandLineTool
baseCommand: vdjtools
requirements:
DockerRequirement:
dockerPull: yyasumizu/vdjtools
ResourceRequirement:
coresMin: 2
ramMin: 3814
inputs:
vdj_file:
type: File
inputBinding:
position: 1
doc: "Input VDJ file for spectratype analysis"
unweighted_analysis:
type: boolean?
inputBinding:
position: 2
default: false
doc: "Perform unweighted analysis (optional)"
amino_acid_analysis:
type: boolean?
inputBinding:
position: 3
default: false
doc: "Perform amino acid analysis (optional)"
outputs:
insert_spectratype:
type: File
outputBinding:
glob: "*.insert.wt.txt"
doc: "Spectratype data in insert format"
ndn_spectratype:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
doc: "Spectratype data in ndn format"
aa_spectratype:
type: File
outputBinding:
glob: "*.aa.wt.txt"
doc: "Spectratype data in amino acid format"
nt_spectratype:
type: File
outputBinding:
glob: "*.nt.wt.txt"
doc: "Spectratype data in nucleotide format"
stdout: output.txt
doc: |
VDJtools Calc Spectratype workflow is used to analyze immune repertoire sequencing data by calculating the spectratype based on CDR3 nucleotide length.
This tool supports optional unweighted and amino acid analysis and generates spectratype data in various formats.
```
## Section 2: Explanation
### Overview:
The CWL file defines a CommandLineTool named "VDJtools Calc Spectratype" used for analyzing immune repertoire sequencing data. The tool calculates spectratype based on CDR3 nucleotide length and supports optional unweighted and amino acid analysis.
### Key Components:
- **baseCommand:** Specifies the base command for the tool as "vdjtools".
- **requirements:**
- **DockerRequirement:** Specifies the Docker image to pull for the tool.
- **ResourceRequirement:** Sets the minimum resource requirements to 2 CPU cores and 3814 MB of RAM.
- **inputs:**
- **vdj_file:** Input VDJ file for spectratype analysis.
- **unweighted_analysis:** Optional boolean parameter to perform unweighted analysis.
- **amino_acid_analysis:** Optional boolean parameter to perform amino acid analysis.
- **outputs:**
- **insert_spectratype:** Output file for spectratype data in insert format.
- **ndn_spectratype:** Output file for spectratype data in ndn format.
- **aa_spectratype:** Output file for spectratype data in amino acid format.
- **nt_spectratype:** Output file for spectratype data in nucleotide format.
- **stdout:** Specifies the standard output file as "output.txt".
- **doc:** Provides a description of the tool's purpose and functionality.
### Notable Features:
- The tool allows for optional unweighted and amino acid analysis.
- Outputs spectratype data in various formats for flexibility in downstream analysis.
- Resource requirements are specified to ensure efficient execution of the tool.. Got: mapping values are not allowed here
in "<unicode string>", line 34, column 10:
doc: "Perform amino acid analysis ( ...
^
Unexpected error: 'RetrieverBuilder' object has no attribute 'invoke'
Error during parsing: Failed to parse CWLDocument from completion # "VDJtools Calc Spectratype" CWL File
## Section 1: CWL File Contents
```yaml
cwlVersion: v1.2
class: CommandLineTool
requirements:
DockerRequirement:
dockerPull: yyasumizu/vdjtools
ResourceRequirement:
ramMin: 3814
coresMin: 2
baseCommand: ["vdjtools", "CalcSpectratype"]
inputs:
vdj_file:
type: File
inputBinding:
position: 1
doc: "Input VDJ file for spectratype analysis."
unweighted_analysis:
type: boolean?
inputBinding:
position: 2
default: false
doc: "Perform unweighted analysis if true."
amino_acid_analysis:
type: boolean?
inputBinding:
position: 3
default: false
doc: "Perform amino acid analysis if true."
outputs:
insert_wt_spectratype:
type: File
outputBinding:
glob: "*.insert.wt.txt"
doc: "Spectratype data in insert weight format."
ndn_wt_spectratype:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
doc: "Spectratype data in NDN weight format."
aa_wt_spectratype:
type: File
outputBinding:
glob: "*.aa.wt.txt"
doc: "Spectratype data in amino acid weight format."
nt_wt_spectratype:
type: File
outputBinding:
glob: "*.nt.wt.txt"
doc: "Spectratype data in nucleotide weight format."
doc: |
VDJtools Calc Spectratype workflow is used to analyze immune repertoire sequencing data by calculating the spectratype, which is a histogram of read counts based on CDR3 nucleotide length. This tool requires a VDJ file as input and can perform optional unweighted and amino acid analysis. The output includes spectratype data in various formats.
```
## Section 2: Explanation
### a. Purpose:
The CWL file defines a CommandLineTool for the "VDJtools Calc Spectratype" workflow. This workflow is designed to analyze immune repertoire sequencing data by calculating the spectratype, which represents a histogram of read counts based on the CDR3 nucleotide length.
### b. Key Components:
1. **Requirements**:
- The tool specifies DockerRequirement to pull the Docker image "yyasumizu/vdjtools" and ResourceRequirement setting minimum RAM and cores requirements.
2. **Base Command**:
- The base command is set to "vdjtools CalcSpectratype" for initiating the spectratype analysis.
3. **Inputs**:
- **vdj_file**: A File type input representing the VDJ file required for spectratype analysis.
- **unweighted_analysis**: A boolean flag (optional) to perform unweighted analysis.
- **amino_acid_analysis**: A boolean flag (optional) to perform amino acid analysis.
4. **Outputs**:
- Various types of spectratype data files are generated as outputs, each defined with a specific format and description:
- insert_wt_spectratype
- ndn_wt_spectratype
- aa_wt_spectratype
- nt_wt_spectratype
### c. Notable Features:
- The tool leverages Docker for execution, ensuring reproducibility and portability.
- Specific resource constraints (RAM and cores) are defined to manage the tool's resource utilization.
- Detailed descriptions are provided for inputs, outputs, and the overall tool, enhancing usability and understanding for users.. Got: 1 validation error for CWLDocument
cwl_object
Field required [type=missing, input_value={'cwlVersion': 'v1.2', 'c... in various formats.\n'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Unexpected error: 'RetrieverBuilder' object has no attribute 'invoke'
Unexpected error: Error code: 400 - {'error': {'message': "This model's maximum context length is 16385 tokens. However, your messages resulted in 18306 tokens. Please reduce the length of the messages.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
Unexpected error: 'RetrieverBuilder' object has no attribute 'get_relevant_documents'
Unexpected error: Error code: 400 - {'error': {'message': "This model's maximum context length is 16385 tokens. However, your messages resulted in 18195 tokens. Please reduce the length of the messages.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
Unexpected error: 'RetrieverBuilder' object has no attribute 'get_relevant_documents'
Error during parsing: Failed to parse CWLDocument from completion # "Calculate Spectratype" CWL File
## CWL File Contents:
```yaml
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
```
## Explanation:
### Overview:
The CWL file represents a CommandLineTool workflow designed to calculate the spectratype from immune repertoire sequencing data using the VDJTools software. It allows optional parameters for unweighted and amino acid analysis and produces multiple output files in different formats.
### Key Components:
- **Inputs:**
- `unweighted`: Optional boolean parameter for unweighted analysis.
- `amino_acid`: Optional boolean parameter for amino acid analysis.
- `vdj_file`: Input File parameter representing the VDJ file for analysis.
- `output_prefix`: Optional string parameter with a default value of "./" for specifying the output directory.
- **Outputs:**
- `spectratype_insert_wt_file`: Output File representing the "*.insert.wt.txt" file generated by the tool.
- `spectratype_ndn_wt_file`: Output File representing the "*.ndn.wt.txt" file generated by the tool.
- `spectratype_aa_wt_file`: Optional Output File representing the "*.aa.wt.txt" file generated by the tool.
- `spectratype_nt_wt_file`: Optional Output File representing the "*.nt.wt.txt" file generated by the tool.
- **Requirements:**
- The tool specifies ResourceRequirement with a minimum of 3814 MB RAM and 2 CPU cores.
- DockerRequirement is used to pull the Docker image "yyasumizu/vdjtools" for consistent execution.
- **Base Command:**
- The base command for the tool is set to ["vdjtools", "CalcSpectratype"].
### Notable Features:
- The tool allows for flexibility by providing optional parameters for different types of analysis.
- Output files are defined with specific globs to capture the relevant files generated by the tool.
- Docker is utilized to ensure reproducibility and portability of the tool execution environment.
- Resource requirements are specified to ensure the tool runs efficiently with the necessary computational resources.. Got: 1 validation error for CWLDocument
cwl_object
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Unexpected error: 'RetrieverBuilder' object has no attribute 'get_relevant_documents'
Unexpected error: Error code: 400 - {'error': {'message': "This model's maximum context length is 16385 tokens. However, your messages resulted in 17830 tokens. Please reduce the length of the messages.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
Unexpected error: 'RetrieverBuilder' object has no attribute 'get_relevant_documents'
Error during parsing: Failed to parse CWLDocument from completion # "Immune Repertoire Analysis" CWL File
## CWL File Contents:
```yaml
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
```
## Explanation:
- **Purpose:** The CWL file defines a CommandLineTool for analyzing immune repertoire sequencing data by calculating spectratype based on CDR3 nucleotide length.
- **Key Components:**
- **Resource Requirements:** Specifies a minimum of 3814 MB of RAM and 2 CPU cores for optimal performance.
- **Docker Requirement:** Ensures consistent execution by pulling the Docker image `yyasumizu/vdjtools`.
- **Inputs:**
- `unweighted` (boolean): Option for unweighted analysis.
- `amino_acid` (boolean): Option for amino acid analysis.
- `vdj_file` (File): Input VDJ file for analysis.
- `output_prefix` (string): Prefix for the output files with a default value of "./".
- **Outputs:**
- `spectratype_insert_wt_file` (File): Output file with glob pattern "*.insert.wt.txt".
- `spectratype_ndn_wt_file` (File): Output file with glob pattern "*.ndn.wt.txt".
- `spectratype_aa_wt_file` (File): Optional output file with glob pattern "*.aa.wt.txt".
- `spectratype_nt_wt_file` (File): Optional output file with glob pattern "*.nt.wt.txt".
- **Notable Features:**
- Utilizes Docker for portability and reproducibility of the analysis environment.
- Allows flexibility with optional outputs for amino acid and nucleotide spectratype data.
- Defines a base command to run the `vdjtools CalcSpectratype` tool for the analysis process.. Got: 1 validation error for CWLDocument
cwl_object
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Unexpected error: 'RetrieverBuilder' object has no attribute 'invoke'
Error during parsing: Failed to parse CWLDocument from completion # "Calculate Spectratype" CWL File
## CWL File Contents
```yaml
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
```
## Explanation
### Overview:
The CWL file represents a CommandLineTool workflow designed to calculate the spectratype from immune repertoire sequencing data using the tool "vdjtools CalcSpectratype".
### Key Components:
- **Inputs**:
- `unweighted`: Optional boolean parameter for unweighted analysis.
- `amino_acid`: Optional boolean parameter for amino acid analysis.
- `vdj_file`: Input File parameter representing the VDJ file for analysis.
- `output_prefix`: Optional string parameter with a default value of "./" for the output file prefix.
- **Outputs**:
- `spectratype_insert_wt_file`: Output File representing the result file with the glob pattern "*.insert.wt.txt".
- `spectratype_ndn_wt_file`: Output File representing the result file with the glob pattern "*.ndn.wt.txt".
- `spectratype_aa_wt_file`: Optional Output File representing the result file with the glob pattern "*.aa.wt.txt".
- `spectratype_nt_wt_file`: Optional Output File representing the result file with the glob pattern "*.nt.wt.txt".
- **Requirements**:
- The tool specifies ResourceRequirement with a minimum of 3814 MB RAM and 2 CPU cores.
- DockerRequirement is used with the image "yyasumizu/vdjtools" for consistent execution.
- **Base Command**:
- The base command for the tool execution is ["vdjtools", "CalcSpectratype"].
### Notable Features:
- Optional parameters for unweighted and amino acid analysis provide flexibility in the tool's functionality.
- The tool generates multiple output files based on the CDR3 nucleotide length, enhancing result interpretation.
- Docker is utilized for containerized execution, ensuring reproducibility and portability of the workflow.
- Resource requirements are specified to ensure the tool runs efficiently with the necessary computational resources.. Got: 1 validation error for CWLDocument
cwl_object
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Unexpected error: name 'getRetrievers' is not defined
Error during parsing: Failed to parse CWLDocument from completion # "Calculate Spectratype" CWL File
## CWL File Contents
```yaml
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
```
## Explanation
- **Purpose:** The workflow is designed to calculate the spectratype from immune repertoire sequencing data using the VDJTools software.
- **Inputs:**
- `unweighted` and `amino_acid`: Optional boolean parameters for unweighted and amino acid analysis.
- `vdj_file`: Mandatory input of type File representing the VDJ file.
- `output_prefix`: Optional string parameter with a default value of "./" representing the output directory path.
- **Outputs:**
- `spectratype_insert_wt_file`, `spectratype_ndn_wt_file`: Mandatory output files with spectratype data in different formats, identified by the specified globs.
- `spectratype_aa_wt_file`, `spectratype_nt_wt_file`: Optional output files with spectratype data in different formats, identified by the specified globs.
- **Requirements:**
- The tool specifies resource requirements using hints:
- Minimum RAM of 3814 MB and 2 CPU cores are required for execution.
- Docker is required, and the image "yyasumizu/vdjtools" will be pulled for consistent execution.
- **Base Command:** The base command for the tool execution is ["vdjtools", "CalcSpectratype"]. This command will be executed with additional arguments based on the provided inputs.
- **Notable Features:**
- The tool allows for flexibility with optional parameters for different types of spectratype analysis.
- Output files are defined with specific globs to capture the relevant data.
- Docker is used to ensure reproducibility and portability of the tool execution environment.
- Resource requirements are specified to ensure the tool runs efficiently with the necessary resources.. Got: 1 validation error for CWLDocument
cwl_object
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Error during parsing: Failed to parse CWLDocument from completion # "Spectratype Calculation" CWL File
## Section 1: CWL File Contents
```yaml
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
```
## Section 2: Explanation
### a. Purpose:
The workflow described in this CWL file is a CommandLineTool that calculates the spectratype from a VDJ file based on the CDR3 nucleotide length. It provides options for unweighted and amino acid analysis and generates output files in different formats.
### b. Key Components:
- **Inputs**:
- `unweighted`: Optional boolean parameter for unweighted analysis.
- `amino_acid`: Optional boolean parameter for amino acid analysis.
- `vdj_file`: Input File parameter representing the VDJ file.
- `output_prefix`: Optional string parameter with a default value of "./" for the output file prefix.
- **Outputs**:
- `spectratype_insert_wt_file`: Output File representing the "*.insert.wt.txt" file.
- `spectratype_ndn_wt_file`: Output File representing the "*.ndn.wt.txt" file.
- `spectratype_aa_wt_file`: Optional Output File representing the "*.aa.wt.txt" file.
- `spectratype_nt_wt_file`: Optional Output File representing the "*.nt.wt.txt" file.
- **Requirements**:
- `ResourceRequirement`: Specifies a minimum of 3814 MB RAM and 2 CPU cores for execution.
- `DockerRequirement`: Specifies the Docker image "yyasumizu/vdjtools" for consistent execution.
- **Base Command**:
- The base command for the tool is ["vdjtools", "CalcSpectratype"].
### c. Notable Features:
- **Optional Parameters**: The tool allows for optional parameters (`unweighted` and `amino_acid`) to customize the analysis.
- **Output Formats**: The tool produces output files in different formats based on the analysis performed.
- **Resource Requirements**: The tool specifies minimum resource requirements for RAM and CPU cores.
- **Docker Usage**: Docker is used to ensure consistent execution environment for the tool.. Got: 1 validation error for CWLDocument
cwl_object
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Error during parsing: Failed to parse CWLWorkflow from completion # "[Spectratype Calculation] CWL File"
## Section 1: CWL File Contents
```yaml
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
```
## Section 2: Explanation
### a. Purpose:
The workflow described in the CWL file is designed to perform spectratype calculations from immune repertoire sequencing data using the VDJTools software tool.
### b. Key Components:
- **Inputs:**
- `unweighted`: Optional boolean parameter for unweighted analysis.
- `amino_acid`: Optional boolean parameter for amino acid analysis.
- `vdj_file`: Input file of type File containing the VDJ data.
- `output_prefix`: Optional string parameter with a default value of "./" specifying the output directory.
- **Outputs:**
- `spectratype_insert_wt_file`: Output File with a glob pattern "*.insert.wt.txt".
- `spectratype_ndn_wt_file`: Output File with a glob pattern "*.ndn.wt.txt".
- `spectratype_aa_wt_file`: Optional output File with a glob pattern "*.aa.wt.txt".
- `spectratype_nt_wt_file`: Optional output File with a glob pattern "*.nt.wt.txt".
- **Requirements:**
- The workflow specifies resource requirements using hints:
- `ResourceRequirement`: Specifies a minimum of 3814 MB RAM and 2 CPU cores.
- `DockerRequirement`: Specifies the Docker image "yyasumizu/vdjtools" for consistent execution.
- **Base Command:**
- The base command for the tool execution is ["vdjtools", "CalcSpectratype"].
### c. Notable Features:
- The CWL file leverages Docker for portability and reproducibility of the tool execution environment.
- Optional parameters for unweighted and amino acid analysis provide flexibility in the spectratype calculation process.
- The tool generates multiple output files in different formats based on the CDR3 nucleotide length, enhancing result interpretation and downstream analysis.. Got: 6 validation errors for CWLWorkflow
label
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
doc
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
inputs
Input should be a valid list [type=list_type, input_value={'unweighted': {'type': '...ding': {'position': 8}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/list_type
outputs
Input should be a valid list [type=list_type, input_value={'spectratype_insert_wt_f...'glob': '*.nt.wt.txt'}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/list_type
requirements
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
steps
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ls', 'CalcSpectratype']}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Error during parsing: Failed to parse CWLWorkflow from completion **[Workflow Name] CWL File**
**Section 1: CWL File Contents**
```yaml
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
$namespaces:
s: http://schema.org/
$schemas:
- https://schema.org/version/latest/schemaorg-current-https.rdf
label: "VDJtools Calc Spectratype"
s:alternateName: "Calculates spectratype, that is, histogram of read counts by CDR3 nucleotide length"
s:license: http://www.apache.org/licenses/LICENSE-2.0
s:creator:
- class: s:Organization
s:legalName: "Cincinnati Children's Hospital Medical Center"
s:location:
- class: s:PostalAddress
s:addressCountry: "USA"
s:addressLocality: "Cincinnati"
s:addressRegion: "OH"
```
**Section 2: Explanation**
a. **Purpose of the Workflow:**
The workflow is designed to calculate spectratype, which is a histogram of read counts by CDR3 nucleotide length using VDJtools.
b. **Key Components:**
- **Inputs:**
- `unweighted`: A boolean flag for unweighted calculation.
- `amino_acid`: A boolean flag for amino acid calculation.
- `vdj_file`: Input file of type File.
- `output_prefix`: Optional string input for the output file prefix.
- **Outputs:**
- `spectratype_insert_wt_file`: Output file with a glob pattern "*.insert.wt.txt".
- `spectratype_ndn_wt_file`: Output file with a glob pattern "*.ndn.wt.txt".
- `spectratype_aa_wt_file`: Optional output file with a glob pattern "*.aa.wt.txt".
- `spectratype_nt_wt_file`: Optional output file with a glob pattern "*.nt.wt.txt".
- **Requirements:**
- ResourceRequirement: Specifies minimum RAM and cores required.
- DockerRequirement: Specifies the Docker image to pull for execution.
- **Base Command:**
The base command for execution is `vdjtools CalcSpectratype`.
- **Other Details:**
- Namespaces and schemas are defined for metadata.
- The workflow has a label, alternate name, and license specified.
- Creator information includes the organization name, location, and address details.
c. **Notable Features/Assumptions:**
- The workflow assumes the availability of the VDJtools software and a specific Docker image for execution.
- Optional outputs for amino acid and nucleotide files are provided, allowing flexibility in the output generated based on user requirements.. Got: 5 validation errors for CWLWorkflow
doc
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ddressRegion': 'OH'}]}]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
inputs
Input should be a valid list [type=list_type, input_value={'unweighted': {'type': '...ding': {'position': 8}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/list_type
outputs
Input should be a valid list [type=list_type, input_value={'spectratype_insert_wt_f...'glob': '*.nt.wt.txt'}}}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/list_type
requirements
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ddressRegion': 'OH'}]}]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
steps
Field required [type=missing, input_value={'cwlVersion': 'v1.1', 'c...ddressRegion': 'OH'}]}]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Error during parsing: Failed to parse CWLDocument from completion # "Spectratype Calculation" CWL File
## Section 1: CWL File Contents
```yaml
#!/usr/bin/env cwl-runner
cwlVersion: v1.1
class: CommandLineTool
hints:
ResourceRequirement:
ramMin: 3814
coresMin: 2
DockerRequirement:
dockerPull: yyasumizu/vdjtools
inputs:
unweighted:
type: boolean?
inputBinding:
prefix: "--unweighted"
position: 5
amino_acid:
type: boolean?
inputBinding:
prefix: "--amino-acid"
position: 6
vdj_file:
type: File
inputBinding:
position: 7
output_prefix:
type: string?
default: "./"
inputBinding:
position: 8
outputs:
spectratype_insert_wt_file:
type: File
outputBinding:
glob: "*.insert.wt.txt"
spectratype_ndn_wt_file:
type: File
outputBinding:
glob: "*.ndn.wt.txt"
spectratype_aa_wt_file:
type: File?
outputBinding:
glob: "*.aa.wt.txt"
spectratype_nt_wt_file:
type: File?
outputBinding:
glob: "*.nt.wt.txt"
baseCommand: ["vdjtools", "CalcSpectratype"]
```
## Section 2: Explanation
### Overview:
The CWL file defines a CommandLineTool for calculating spectratype based on CDR3 nucleotide length from a VDJ file. It allows optional parameters for unweighted and amino acid analysis and produces output files in different formats.
### Key Components:
- **Inputs:**
- `unweighted`: Optional boolean parameter for unweighted analysis.
- `amino_acid`: Optional boolean parameter for amino acid analysis.
- `vdj_file`: Input File parameter representing the VDJ file.
- `output_prefix`: Optional string parameter with a default value, specifying the output directory.
- **Outputs:**
- `spectratype_insert_wt_file`: Output File representing the *.insert.wt.txt file.
- `spectratype_ndn_wt_file`: Output File representing the *.ndn.wt.txt file.
- `spectratype_aa_wt_file`: Optional Output File representing the *.aa.wt.txt file.