This file is indexed.

/usr/share/openms-common/OpenMS/SCHEMAS/protXML_v6.xsd is in openms-common 1.11.1-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Wei Yan (Institute for Systems Biology) -->
<!--W3C Schema generated by XMLSPY v2004 rel. 4 U (http://www.xmlspy.com)-->
<xs:schema targetNamespace="http://regis-web.systemsbiology.net/protXML" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://regis-web.systemsbiology.net/protXML" xmlns:protx="http://regis-web.systemsbiology.net/protXML" elementFormDefault="qualified">
	<xs:element name="ASAPRatio_pvalue">
	<xs:annotation>
		<xs:documentation>Results of ASAPRatio pvalue analysis (adjusting ASAPRatio ratios for offset of dataset, and determining whether ratios are significantly different from chance values originating from 1:1 proteins)</xs:documentation>
	</xs:annotation>
		<xs:complexType>
			<xs:attribute name="adj_ratio_mean" type="xs:double" use="required">
				<xs:annotation>
					<xs:documentation>Ratio adjusted for dataset mean value</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="adj_ratio_standard_dev" type="xs:double" use="required">
				<xs:annotation>
					<xs:documentation>Error adjusted for dataset mean value</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="heavy2light_adj_ratio_mean" type="xs:double">
				<xs:annotation>
					<xs:documentation>Heavy2light ratio adjusted for dataset mean value</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="heavy2light_adj_ratio_standard_dev" type="xs:double">
				<xs:annotation>
					<xs:documentation>Heavy2light error adjusted for dataset mean value</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="pvalue" type="xs:double">
				<xs:annotation>
					<xs:documentation>pvalue (probability of ratio due by chance to 1:1 protein)</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="decimal_pvalue" type="xs:double">
				<xs:annotation>
					<xs:documentation>decimal representation of pvalue</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="ASAPRatio">
	<xs:annotation>
		<xs:documentation>Results of ASAPRatio quantitation of protein</xs:documentation>
	</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="ASAP_Seq" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ASAP_Peak" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ASAP_Dta" maxOccurs="unbounded">
											<xs:complexType>
												<xs:attribute name="peptide_index" type="xs:string" use="required"/>
												<xs:attribute name="include" type="xs:string" use="required"/>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="status" type="xs:string" use="required"/>
									<xs:attribute name="include" type="xs:string" use="required"/>
									<xs:attribute name="datanum" type="xs:nonNegativeInteger" use="required"/>
									<xs:attribute name="ratio_mean" type="xs:double" use="required"/>
									<xs:attribute name="ratio_standard_dev" type="xs:double" use="required"/>
									<xs:attribute name="heavy2light_ratio_mean" type="xs:double" use="required"/>	
									<xs:attribute name="heavy2light_ratio_standard_dev" type="xs:double" use="required"/>
									<xs:attribute name="weight" type="xs:double" use="required"/>
									<xs:attribute name="peptide_binary_ind" type="xs:string" use="required"/>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="status" type="xs:string" use="required"/>
						<xs:attribute name="include" type="xs:string" use="required"/>
						<xs:attribute name="datanum" type="xs:nonNegativeInteger" use="required"/>
						<xs:attribute name="ratio_mean" type="xs:double" use="required"/>
						<xs:attribute name="ratio_standard_dev" type="xs:double" use="required"/>
						<xs:attribute name="heavy2light_ratio_mean" type="xs:double" use="required"/>		
						<xs:attribute name="heavy2light_ratio_standard_dev" type="xs:double" use="required"/>
						<xs:attribute name="weight" type="xs:double" use="required"/>
						<xs:attribute name="light_sequence" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="ratio_mean" type="xs:double" use="required"/>
			<xs:attribute name="ratio_standard_dev" type="xs:double" use="required"/>
			<xs:attribute name="ratio_number_peptides" type="xs:nonNegativeInteger" use="required"/>
			<xs:attribute name="heavy2light_ratio_mean" type="xs:double"/>
			<xs:attribute name="heavy2light_ratio_standard_dev" type="xs:double"/>
			<xs:attribute name="description" type="xs:string"/>
			<xs:attribute name="status" type="xs:string"/>
			<xs:attribute name="peptide_inds" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="protein_summary">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="protein_summary_header">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="program_details">
								<xs:complexType>
									<xs:sequence>
										<xs:any namespace="##any" processContents="lax" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Wildcard for summary info customized for a particular analysis used to infer protein identifications</xs:documentation>
											</xs:annotation>
										</xs:any>
									</xs:sequence>
									<xs:attribute name="analysis" type="xs:string" use="required">
											<xs:annotation>
												<xs:documentation>Name of analysis used for protein identifications</xs:documentation>
											</xs:annotation>
									</xs:attribute>
									<xs:attribute name="time" type="xs:dateTime" use="required">
											<xs:annotation>
												<xs:documentation>Time of analysis</xs:documentation>
											</xs:annotation>
									</xs:attribute>
									<xs:attribute name="version" type="xs:string"/>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="reference_database" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>full path database name</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="win-cyg_reference_database" type="xs:string">
							<xs:annotation>
								<xs:documentation>windows full path database</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="residue_substitution_list" type="xs:string">
							<xs:annotation>
								<xs:documentation>residues considered equivalent when comparing peptides</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="organism" type="xs:string">
							<xs:annotation>
								<xs:documentation>sample organism (used for annotation purposes)</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="source_files" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>input pepXML files</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="source_files_alt" type="xs:string" use="required"/>
						<xs:attribute name="win-cyg_source_files" type="xs:string">
							<xs:annotation>
								<xs:documentation>windows pepXML file names</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="source_file_xtn" type="xs:string">
							<xs:annotation>
								<xs:documentation>file type (if not pepXML)</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="min_peptide_probability" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>minimum adjusted peptide probability contributing to protein probability</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="min_peptide_weight" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>minimum peptide weight contributing to protein probability</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="num_predicted_correct_prots" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>total number of predicted correct protein ids (sum of probabilities)</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="num_input_1_spectra" type="xs:integer" use="required">
							<xs:annotation>
								<xs:documentation>number of spectra from 1+ precursor ions</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="num_input_2_spectra" type="xs:integer" use="required">
							<xs:annotation>
								<xs:documentation>number of spectra from 2+ precursor ions</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="num_input_3_spectra" type="xs:integer" use="required">
							<xs:annotation>
								<xs:documentation>number of spectra from 3+ precursor ions</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="num_input_4_spectra" type="xs:integer" use="required">
							<xs:annotation>
								<xs:documentation>number of spectra from 4+ precursor ions</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="num_input_5_spectra" type="xs:integer" use="required">
							<xs:annotation>
								<xs:documentation>number of spectra from 5+ precursor ions</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="initial_min_peptide_prob" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>minimum initial peptide probability to contribute to analysis</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="total_no_spectrum_ids" type="xs:double">
							<xs:annotation>
								<xs:documentation>total estimated number of correct peptide assignments in dataset</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="sample_enzyme" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>enzyme applied to sample prior to MS/MS</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="analysis_summary" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:any namespace="##any" processContents="lax" minOccurs="0">
								<xs:annotation>
									<xs:documentation>time of analysis</xs:documentation>
								</xs:annotation>
							</xs:any>
						</xs:sequence>
						<xs:attribute name="analysis" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>name of protein-level analysis</xs:documentation>
							</xs:annotation>
						</xs:attribute>

						<xs:attribute name="time" type="xs:dateTime" use="required">
							<xs:annotation>
								<xs:documentation>time of analysis</xs:documentation>
							</xs:annotation>
						</xs:attribute>

						<xs:attribute name="id" type="xs:nonNegativeInteger" use="required">
							<xs:annotation>
								<xs:documentation>unique id corresponding with analysis_result elements</xs:documentation>
							</xs:annotation>
						</xs:attribute>


					</xs:complexType>
				</xs:element>
				<xs:element name="dataset_derivation">
				<xs:annotation>
					<xs:documentation>Source and filtering criteria used to generate dataset</xs:documentation>
				</xs:annotation>
					<xs:complexType>
						<xs:sequence minOccurs="0" maxOccurs="unbounded">
							<xs:element name="data_filter">
								<xs:complexType>
									<xs:attribute name="number" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>generation number (0 is root)</xs:documentation>
										</xs:annotation>
									</xs:attribute>

									<xs:attribute name="parent_file" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>File from which derived</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="windows_parent" type="xs:string"/>
									<xs:attribute name="description" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>filtering criteria applied to data</xs:documentation>
										</xs:annotation>
	                                				</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="generation_no" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>number preceding filter generations</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="protein_group" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="protein" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<!-- note: nameValueType defined below -->
										<xs:element name="parameter" type="nameValueType" minOccurs="0" maxOccurs="unbounded"/>
										<xs:element name="analysis_result" minOccurs="0" maxOccurs="unbounded">
											<xs:complexType>
												<xs:sequence>
													<xs:any namespace="##any" processContents="lax">
														<xs:annotation>
															<xs:documentation>wildcard to be substituted with element storing analysis-specific result info</xs:documentation>
														</xs:annotation>
													</xs:any>

												</xs:sequence>
												<xs:attribute name="analysis" type="xs:string" use="required">
													<xs:annotation>
														<xs:documentation>name of protein level analysis</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="id" type="xs:nonNegativeInteger" default="1">
													<xs:annotation>
														<xs:documentation>unique identifier to analysis_summary element</xs:documentation>
													</xs:annotation>
												</xs:attribute>

											</xs:complexType>
										</xs:element>
										<xs:element name="annotation" minOccurs="0">
											<xs:complexType>
												<xs:attribute name="protein_description" type="xs:string" use="required"/>
												<xs:attribute name="ipi_name" type="xs:string"/>
												<xs:attribute name="refseq_name" type="xs:string"/>
												<xs:attribute name="swissprot_name" type="xs:string"/>
												<xs:attribute name="ensembl_name" type="xs:string"/>
												<xs:attribute name="trembl_name" type="xs:string"/>
												<xs:attribute name="locus_link_name" type="xs:string"/>
												<xs:attribute name="flybase" type="xs:string"/>
											</xs:complexType>
										</xs:element>
										<xs:element name="indistinguishable_protein" minOccurs="0" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>other protein sharing corresponding peptides</xs:documentation>
										</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<!-- note: nameValueType defined below -->
													<xs:element name="parameter" type="nameValueType" minOccurs="0" maxOccurs="unbounded"/>
													<xs:element name="annotation" minOccurs="0">
													<xs:annotation>
														<xs:documentation>protein description</xs:documentation>
													</xs:annotation>

														<xs:complexType>
															<xs:attribute name="protein_description" type="xs:string" use="required">
																<xs:annotation>
																	<xs:documentation>description</xs:documentation>
																</xs:annotation>
	                                										</xs:attribute>

															<xs:attribute name="ipi_name" type="xs:string"/>
															<xs:attribute name="refseq_name" type="xs:string"/>
															<xs:attribute name="swissprot_name" type="xs:string"/>
															<xs:attribute name="ensembl_name" type="xs:string"/>
															<xs:attribute name="trembl_name" type="xs:string"/>
															<xs:attribute name="locus_link_name" type="xs:string"/>
															<xs:attribute name="flybase" type="xs:string"/>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="protein_name" type="xs:string" use="required"/>
											</xs:complexType>
										</xs:element>
										<xs:element name="peptide" maxOccurs="unbounded">
											<xs:complexType>
												<xs:sequence>
													<xs:element name="parameter" minOccurs="0" maxOccurs="unbounded">
														<xs:complexType>
															<xs:simpleContent>
																<xs:extension base="xs:anySimpleType">
																	<xs:attribute name="name" type="xs:string" use="required"/>
																	<xs:attribute name="value" type="xs:anySimpleType" use="required"/>
																	<xs:attribute name="type" type="xs:anySimpleType"/>
																</xs:extension>
															</xs:simpleContent>
														</xs:complexType>
													</xs:element>
													<xs:element name="modification_info" minOccurs="0" maxOccurs="unbounded">
														<xs:complexType>
															<xs:sequence>
																<xs:element name="mod_aminoacid_mass" minOccurs="0" maxOccurs="unbounded">
																	<xs:complexType>
																		<xs:attribute name="position" type="xs:string" use="required"/>
																		<xs:attribute name="mass" type="xs:string" use="required"/>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="mod_nterm_mass" type="xs:string"/>
															<xs:attribute name="mod_cterm_mass" type="xs:string"/>
															<xs:attribute name="modified_peptide" type="xs:string"/>
														</xs:complexType>
													</xs:element>
													<xs:element name="peptide_parent_protein" minOccurs="0" maxOccurs="unbounded">
														<xs:complexType>
															<xs:attribute name="protein_name" type="xs:string" use="required"/>
														</xs:complexType>
													</xs:element>
													<xs:element name="indistinguishable_peptide" minOccurs="0" maxOccurs="unbounded">
														<xs:complexType>
															<xs:sequence>
																<xs:element name="modification_info" minOccurs="0" maxOccurs="unbounded">
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="mod_aminoacid_mass" minOccurs="0" maxOccurs="unbounded">
																				<xs:complexType>
																					<xs:attribute name="position" type="xs:string" use="required"/>
																					<xs:attribute name="mass" type="xs:string" use="required"/>
																				</xs:complexType>
																			</xs:element>
																		</xs:sequence>
																		<xs:attribute name="mod_nterm_mass" type="xs:string"/>
																		<xs:attribute name="mod_cterm_mass" type="xs:string"/>
																		<xs:attribute name="modified_peptide" type="xs:string"/>
																		<xs:attribute name="calc_neutral_pep_mass" type="xs:double" use="optional" />
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
															<xs:attribute name="peptide_sequence" type="xs:string" use="required"/>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="peptide_sequence" type="xs:string" use="required">
													<xs:annotation>
														<xs:documentation>unmodified aa sequence</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="charge" type="xs:positiveInteger" use="required">
													<xs:annotation>
														<xs:documentation>precursor ion charge</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="initial_probability" type="xs:double" use="required">
													<xs:annotation>
														<xs:documentation>prior to nsp adjustment</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="nsp_adjusted_probability" type="xs:double" use="optional">
													<xs:annotation>
														<xs:documentation>after nsp adjustment</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="ni_adjusted_probability" type="xs:double" use="optional">
													<xs:annotation>
														<xs:documentation>after ni adjustment</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="exp_sibling_ion_instances" type="xs:double" use="optional">
													<xs:annotation>
														<xs:documentation>expected sibling ion instances</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="exp_sibling_ion_bin" type="xs:double" use="optional">
													<xs:annotation>
														<xs:documentation>expected sibling ion bin</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="exp_tot_instances" type="xs:double" use="optional">
													<xs:annotation>
														<xs:documentation>expected total instances</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="peptide_group_designator" type="xs:string">
													<xs:annotation>
														<xs:documentation>link to spectra with other precursor ion charges assigned to same peptide</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="weight" type="xs:double" default="1.0"/>
												<xs:attribute name="is_nondegenerate_evidence" type="xs:string" use="required">
													<xs:annotation>
														<xs:documentation>confidence that peptide corresponds with this protein (rather than others in which it occurs)</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="n_enzymatic_termini" type="xs:nonNegativeInteger" use="required">
													<xs:annotation>
														<xs:documentation>number of termini consistent with proteolytic cleavage</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="n_sibling_peptides" type="xs:double">
													<xs:annotation>
														<xs:documentation>estimated number of sibling peptides (other identified peptides corresponding to same protein)</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="n_sibling_peptides_bin" type="xs:integer" default="0">
													<xs:annotation>
														<xs:documentation>discretized nsp value</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="n_instances" type="xs:integer" use="required">
													<xs:annotation>
														<xs:documentation>number of times peptide assigned to spectrum of precursor ion charge in dataset</xs:documentation>
													</xs:annotation>
												</xs:attribute>

												<xs:attribute name="calc_neutral_pep_mass" type="xs:double"/>
												<xs:attribute name="is_contributing_evidence" type="xs:string" use="required"/>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="protein_name" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>database protein name</xs:documentation>
										</xs:annotation>
									</xs:attribute>

									<xs:attribute name="probability" type="xs:double" use="required">
										<xs:annotation>
											<xs:documentation>confidence of protein id</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="percent_coverage" type="xs:double">
										<xs:annotation>
											<xs:documentation>percent of protein sequence covered by corresponding peptides</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="n_indistinguishable_proteins" type="xs:integer" use="required">
										<xs:annotation>
											<xs:documentation>number of proteins with identical corresponding peptides</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="unique_stripped_peptides" type="xs:string"/>
									<xs:attribute name="group_sibling_id" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation>protein group id</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="total_number_peptides" type="xs:integer">
										<xs:annotation>
											<xs:documentation>total number of corresponding peptides that contributed to protein probability</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="subsuming_protein_entry" type="xs:string">
										<xs:annotation>
											<xs:documentation>name of portein containing all corresponding peptides, and more</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="pct_spectrum_ids" type="xs:string">
										<xs:annotation>
											<xs:documentation>fraction of correct dataset peptide identifications corresponding to protein</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
								<xs:unique name="unique_result_analysis_id">
									<xs:annotation>
										<xs:documentation>can only have one analysis/id combination within each protein element</xs:documentation>
									</xs:annotation>

									<xs:selector xpath="./protx:analysis_result"/>
									<xs:field xpath="@analysis"/>
									<xs:field xpath="@id"/>
								</xs:unique>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="group_number" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation>index</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="pseudo_name" type="xs:string"/>
						<xs:attribute name="probability" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>group probability (taking contributions from all group member proteins)</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
					<xs:unique name="unique_group_sibling_id">
						<xs:annotation>
							<xs:documentation>Each group_sibling_id must be unique within a protein group</xs:documentation>
						</xs:annotation>
						<xs:selector xpath="./protx:protein"/>
						<xs:field xpath="@group_sibling_id"/>
					</xs:unique>

				</xs:element>
			</xs:sequence>
		<xs:attribute name="summary_xml" type="xs:string"/>
		</xs:complexType>
		<xs:key name="summary_analysis_id">
			<xs:selector xpath="./protx:analysis_summary"/>
			<xs:field xpath="@analysis"/>
			<xs:field xpath="@id"/>
		</xs:key>
		<xs:keyref name="result_analysis_id" refer="summary_analysis_id">
			<xs:annotation>
				<xs:documentation>analysis and id must correspond with those fields in an analysis_summary element</xs:documentation>
			</xs:annotation>
			<xs:selector xpath="./protx:protein_group/protx:protein/protx:analysis_result"/>
			<xs:field xpath="@analysis"/>
			<xs:field xpath="@id"/>
		</xs:keyref>
		<xs:unique name="unique_group_number">
			<xs:annotation>
				<xs:documentation>Requires group numbers be unique for entire dataset</xs:documentation>
			</xs:annotation>
			<xs:selector xpath="./protx:protein_group"/>
			<xs:field xpath="@group_number"/>
		</xs:unique>
	</xs:element>
	<xs:element name="proteinprophet_details">
		<xs:annotation>
			<xs:documentation>ProteinProphet analysis details</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="nsp_information">
					<xs:annotation>
						<xs:documentation>learned distributions of estimated number of sibling peptides</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="nsp_distribution" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>histogram slice of estimated number of sibling peptides</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="bin_no" type="xs:integer" use="required">
										<xs:annotation>
											<xs:documentation>discretized bin number</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="nsp_lower_bound_incl" type="xs:double" use="optional">
										<xs:annotation>
											<xs:documentation>lower bound nsp value (inclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="nsp_upper_bound_excl" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation>upper bound nsp value (exclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="nsp_lower_bound_excl" type="xs:double" use="optional">
										<xs:annotation>
											<xs:documentation>lower bound nsp value (exclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="nsp_upper_bound_incl" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation>upper bound nsp value (inclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="pos_freq" type="xs:double" use="required">
										<xs:annotation>
											<xs:documentation>fraction of correct peptides in bin</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="neg_freq" type="xs:double" use="required">
										<xs:annotation>
											<xs:documentation>fraction of incorrect peptides in bin</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="pos_to_neg_ratio" type="xs:double" use="required">
										<xs:annotation>
											<xs:documentation>fraction of correct / fraction of incorrect</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="alt_pos_to_neg_ratio" type="xs:double">
										<xs:annotation>
											<xs:documentation>pos_to_neg_ratio of preceding bin (if greater than that of current bin)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="neighboring_bin_smoothing" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="ni_information">
					<xs:annotation>
						<xs:documentation>learned distributions of estimated number of peptide instances ("number of instances")</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ni_distribution" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation>histogram slice of estimated number of sibling peptides</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:attribute name="bin_no" type="xs:integer" use="required">
										<xs:annotation>
											<xs:documentation>discretized bin number</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="ni_lower_bound_incl" type="xs:double" use="optional">
										<xs:annotation>
											<xs:documentation>lower bound nsp value (inclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="ni_upper_bound_excl" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation>upper bound nsp value (exclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="ni_lower_bound_excl" type="xs:double" use="optional">
										<xs:annotation>
											<xs:documentation>lower bound nsp value (exclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="ni_upper_bound_incl" type="xs:string" use="optional">
										<xs:annotation>
											<xs:documentation>upper bound nsp value (inclusive)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="pos_freq" type="xs:double" use="required">
										<xs:annotation>
											<xs:documentation>fraction of correct peptides in bin</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="neg_freq" type="xs:double" use="required">
										<xs:annotation>
											<xs:documentation>fraction of incorrect peptides in bin</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="pos_to_neg_ratio" type="xs:double" use="required">
										<xs:annotation>
											<xs:documentation>fraction of correct / fraction of incorrect</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="alt_pos_to_neg_ratio" type="xs:double">
										<xs:annotation>
											<xs:documentation>pos_to_neg_ratio of preceding bin (if greater than that of current bin)</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<!-- 
							<xs:attribute name="neighboring_bin_smoothing" type="xs:string" use="required"/>
						-->
					</xs:complexType>
				</xs:element>
				<xs:element name="protein_summary_data_filter" maxOccurs="unbounded">
					<xs:annotation>
						<xs:documentation>predicted error/sensitivity for filtering at minimum probability</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:attribute name="min_probability" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>filter setting</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="sensitivity" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>predicted sensitivity (fraction of correct results passing filter)</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="false_positive_error_rate" type="xs:double" use="required">
							<xs:annotation>
								<xs:documentation>predicted error rate (fraction of results passing filter than are incorrect)</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="predicted_num_correct" type="xs:double">
							<xs:annotation>
								<xs:documentation>predicted number of correct results passing filter</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="predicted_num_incorrect" type="xs:double">
							<xs:annotation>
								<xs:documentation>predicted number of incorrect results passing filter</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="occam_flag" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>whether or not occams razor was used to apportion peptides corresponding to multiple proteins</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="groups_flag" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>whether or not related proteins are organized together in common protein groups</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="degen_flag" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>whether or not all proteins corresponding to each identified peptide were used in analysis</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="nsp_flag" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>whether or not peptide probabilities were adjusted for estimated number of sibling peptides</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="initial_peptide_wt_iters" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>proteinprophet number of initial iterations to compute peptide weights</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="nsp_distribution_iters" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>proteinprophet number of interations used to compute nsp distributions</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="final_peptide_wt_iters" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>proteinprophet number of final interations used to compute final peptide weights</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="run_options" type="xs:string">
				<xs:annotation>
					<xs:documentation>special run options</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="XPress_analysis_summary">
		<xs:complexType>
			<xs:attribute name="min_peptide_probability" type="xs:double" use="required"/>
			<xs:attribute name="min_peptide_weight" type="xs:double" use="required"/>
			<xs:attribute name="min_protein_probability" type="xs:double" use="required"/>
			<xs:attribute name="reference_isotope" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="ASAP_prot_analysis_summary">
		<xs:complexType>
			<xs:attribute name="version" type="xs:string"/>
			<xs:attribute name="binary_ref_files" type="xs:string"/>
			<xs:attribute name="min_peptide_probability" type="xs:double" use="required"/>
			<xs:attribute name="min_peptide_weight" type="xs:double" use="required"/>
			<xs:attribute name="min_protein_probability" type="xs:double" use="required"/>
			<xs:attribute name="reference_isotope" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="ASAP_pvalue_analysis_summary">
		<xs:complexType>
			<xs:attribute name="asapratio_id" type="xs:nonNegativeInteger" default="1"/>
			<xs:attribute name="background_ratio_mean" type="xs:double" use="required"/>
			<xs:attribute name="background_ratio_stdev" type="xs:double" use="required"/>
			<xs:attribute name="background_fitting_error" type="xs:double" use="required"/>
			<xs:attribute name="analysis_distribution_file" type="xs:string" use="required"/>
			<xs:attribute name="full_analysis_distr_file" type="xs:string"/>
			<xs:attribute name="asap_prot_id" type="xs:nonNegativeInteger" default="1"/>
		</xs:complexType>
	</xs:element>


	<xs:simpleType name="positiveInt">
		<xs:restriction base="xs:unsignedInt">
			<xs:minInclusive value="1"/>
		</xs:restriction>
	</xs:simpleType>
   	<xs:element name="libra_result">
      	<xs:complexType>
         	<xs:sequence>
            	<xs:element name="intensity" maxOccurs="unbounded">
               		<xs:complexType>
                  		<xs:attribute name="mz" type="xs:float" use="required"/> 
                  		<xs:attribute name="ratio" type="xs:float" use="required"/>
                  		<xs:attribute name="error" type="xs:float" use="required"/>
               		</xs:complexType>
            	</xs:element>
         	</xs:sequence>
                 <xs:attribute name="number" type="xs:nonNegativeInteger" use="required"/>
      	</xs:complexType>
	<xs:unique name="libra_result_channel_index">
		<xs:selector xpath="."/>
		<xs:field xpath="@channel"/>
	</xs:unique>


   	</xs:element>
      	<xs:element name="libra_summary">
      	<xs:complexType>
         	<xs:sequence>
            	<xs:element name="fragment_masses" maxOccurs="unbounded">
               	<xs:complexType>
                  	<xs:attribute name="channel" type="positiveInt" use="required"/>
                  	<xs:attribute name="mz" type="xs:float" use="required"/>
               	</xs:complexType>
            	</xs:element>
            	<xs:element name="isotopic_contributions" minOccurs="0">
               	<xs:complexType>
                  	<xs:sequence>
                     	<xs:element name="contributing_channel" maxOccurs="unbounded">
                        	<xs:complexType>
                           	<xs:sequence>
                              	<xs:element name="affected_channel" maxOccurs="unbounded">
                                 	<xs:complexType>
                                    	<xs:attribute name="channel" type="positiveInt" use="required"/>
                                    	<xs:attribute name="correction" type="xs:float" use="required"/>
                                 	</xs:complexType>
                              	</xs:element>
                           	</xs:sequence>
                           	<xs:attribute name="channel" type="positiveInt" use="required"/>
                        	</xs:complexType>
                     	</xs:element>
                  	</xs:sequence>
               	</xs:complexType>
            	</xs:element>
         	</xs:sequence>
         	<xs:attribute name="mass_tolerance" type="xs:float" use="required"/>
         	<xs:attribute name="centroiding_preference" type="xs:int" use="required"/>
         	<xs:attribute name="normalization" type="xs:int" use="required"/>
         	<xs:attribute name="output_type" type="xs:int" use="required"/>
         	<xs:attribute name="channel_code" type="xs:string"/>
        	<xs:attribute name="min_pep_prob" type="xs:float" use="required"/>
         	<xs:attribute name="min_pep_wt" type="xs:float" use="required"/>
         	<xs:attribute name="min_prot_prob" type="xs:float" use="required"/>
      	</xs:complexType>

	<xs:key name="libra_channel_index">
		<xs:selector xpath="./protx:fragment_masses"/>
		<xs:field xpath="@channel"/>
	</xs:key>
	<xs:keyref name="libra_contr_channel_index_ref" refer="libra_channel_index">
		<xs:selector xpath="./protx:isotopic_contributions/protx:contributing_channel"/>
		<xs:field xpath="@channel"/>
	</xs:keyref>
	<xs:keyref name="libra_aff_channel_index_ref" refer="libra_channel_index">
		<xs:selector xpath="./protx:isotopic_contributions/protx:contributing_channel/protx:affected_channel"/>
		<xs:field xpath="@channel"/>
	</xs:keyref>

   	</xs:element>

	<!-- a loosely-defined, general-purpose type used in the "parameter" element, defined above -->
	<xs:complexType name="nameValueType">
		<xs:simpleContent>
			<xs:extension base="xs:anySimpleType">
				<xs:attribute name="name" type="xs:string" use="required"/>
				<xs:attribute name="value" type="xs:anySimpleType" use="required"/>
				<xs:attribute name="type" type="xs:anySimpleType"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>


</xs:schema>