Changeset 6213
- Timestamp:
- Apr 15, 2021, 8:38:55 AM (2 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/analysis/demux_start.js
r5613 r6213 394 394 frm.debug.checked = debug || location.protocol != 'https:'; 395 395 396 Reggie.loadProtocols('DEMUX_PROTOCOL', 'demuxProtocol', 'PIPELINE ', pipeline.name);397 Reggie.loadSoftware('DEMUX_SOFTWARE', 'demuxSoftware', 'PIPELINE, PARAMETER_SET', pipeline.name);398 Reggie.loadProtocols('MERGE_PROTOCOL', 'mergeProtocol', 'PIPELINE ', pipeline.name);399 Reggie.loadSoftware('MERGE_SOFTWARE', 'mergeSoftware', 'PIPELINE, PARAMETER_SET', pipeline.name);396 Reggie.loadProtocols('DEMUX_PROTOCOL', 'demuxProtocol', 'PIPELINE,DEMUX_TYPE', pipeline.name+',Picard'); 397 Reggie.loadSoftware('DEMUX_SOFTWARE', 'demuxSoftware', 'PIPELINE,DEMUX_TYPE,PARAMETER_SET', pipeline.name+',Picard'); 398 Reggie.loadProtocols('MERGE_PROTOCOL', 'mergeProtocol', 'PIPELINE,MERGE_TYPE', pipeline.name+',Default'); 399 Reggie.loadSoftware('MERGE_SOFTWARE', 'mergeSoftware', 'PIPELINE,MERGE_TYPE,PARAMETER_SET', pipeline.name+',Default'); 400 400 401 401 // Load open grid clusters -
extensions/net.sf.basedb.reggie/trunk/resources/analysis/import_fastq.js
r6180 r6213 103 103 var numDoNotUse = 0; 104 104 var invalidPipeline = null; 105 var missingRawFastq = null; 105 106 106 107 Wizard.setInputStatus('mergedSequences'); … … 117 118 invalidPipeline = Strings.encodeTags(ms.name+' ('+ms.pipeline)+') is not intended for the RNAseq pipeline.'; 118 119 } 120 if (ms.rawFastq.length == 0) 121 { 122 missingRawFastq = Strings.encodeTags(ms.name+' is missing RawFASTQ information'); 123 } 119 124 } 120 125 } … … 130 135 return; 131 136 } 137 if (missingRawFastq) 138 { 139 Wizard.setInputStatus('mergedSequences', 'invalid', missingRawFastq); 140 return; 141 } 132 142 selectionIsValid = true; 133 143 … … 152 162 frm.debug.checked = debug || location.protocol != 'https:'; 153 163 154 Reggie.loadProtocols('MERGE_PROTOCOL', 'mergeProtocol', 'PIPELINE ', 'RNAseq');155 Reggie.loadSoftware('MERGE_SOFTWARE', 'mergeSoftware', 'PIPELINE, PARAMETER_SET', 'RNAseq');164 Reggie.loadProtocols('MERGE_PROTOCOL', 'mergeProtocol', 'PIPELINE,MERGE_TYPE', 'RNAseq,Import'); 165 Reggie.loadSoftware('MERGE_SOFTWARE', 'mergeSoftware', 'PIPELINE,MERGE_TYPE,PARAMETER_SET', 'RNAseq,Import'); 156 166 157 167 // Load open grid clusters -
extensions/net.sf.basedb.reggie/trunk/resources/batch/import-external-specimen.js
r6212 r6213 191 191 frm.debug.checked = debug || location.protocol != 'https:'; 192 192 193 Reggie.loadProtocols('MERGE_PROTOCOL', 'mergeProtocol', 'PIPELINE ', 'RNAseq');194 Reggie.loadSoftware('MERGE_SOFTWARE', 'mergeSoftware', 'PIPELINE, PARAMETER_SET', 'RNAseq');193 Reggie.loadProtocols('MERGE_PROTOCOL', 'mergeProtocol', 'PIPELINE,MERGE_TYPE', 'RNAseq,Import'); 194 Reggie.loadSoftware('MERGE_SOFTWARE', 'mergeSoftware', 'PIPELINE,MERGE_TYPE,PARAMETER_SET', 'RNAseq,Import'); 195 195 196 196 // Load open grid clusters -
extensions/net.sf.basedb.reggie/trunk/resources/mipsanalysis/demux_start.js
r5801 r6213 393 393 frm.debug.checked = debug || location.protocol != 'https:'; 394 394 395 Reggie.loadProtocols('DEMUX_PROTOCOL', 'demuxProtocol', 'PIPELINE ', pipeline.name);396 Reggie.loadSoftware('DEMUX_SOFTWARE', 'demuxSoftware', 'PIPELINE, PARAMETER_SET', pipeline.name);395 Reggie.loadProtocols('DEMUX_PROTOCOL', 'demuxProtocol', 'PIPELINE,DEMUX_TYPE', pipeline.name+',Picard'); 396 Reggie.loadSoftware('DEMUX_SOFTWARE', 'demuxSoftware', 'PIPELINE,DEMUX_TYPE,PARAMETER_SET', pipeline.name+',Picard'); 397 397 398 398 // Load open grid clusters -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/autoconfirm/SequencingRunAutoConfirmer.java
r6010 r6213 7 7 import org.slf4j.LoggerFactory; 8 8 9 import net.sf.basedb.core.Annotatable; 9 10 import net.sf.basedb.core.DbControl; 10 11 import net.sf.basedb.core.DerivedBioAssay; … … 33 34 import net.sf.basedb.reggie.servlet.DemuxMergeServlet; 34 35 import net.sf.basedb.reggie.servlet.SequencingRunServlet; 36 import net.sf.basedb.util.filter.AllOfFilter; 37 import net.sf.basedb.util.filter.Filter; 35 38 36 39 /** … … 159 162 Integer priority = (Integer)job.getParameterValue("priority"); 160 163 161 Protocol demuxProtocol = (Protocol)Subtype.DEMUX_PROTOCOL.getLatestProjectDefault(dc, Annotationtype.PIPELINE.createFilter(pipelineName)); 162 Software demuxSoftware = (Software)Subtype.DEMUX_SOFTWARE.getLatestProjectDefault(dc, Annotationtype.PIPELINE.createFilter(pipelineName)); 163 Protocol mergeProtocol = (Protocol)Subtype.MERGE_PROTOCOL.getLatestProjectDefault(dc, Annotationtype.PIPELINE.createFilter(pipelineName)); 164 Software mergeSoftware = (Software)Subtype.MERGE_SOFTWARE.getLatestProjectDefault(dc, Annotationtype.PIPELINE.createFilter(pipelineName)); 164 Filter<Annotatable> pipelineFilter = Annotationtype.PIPELINE.createFilter(pipelineName); 165 Filter<Annotatable> demuxFilter = new AllOfFilter<>(Arrays.asList(pipelineFilter, Annotationtype.DEMUX_TYPE.createFilter("Picard"))); 166 Filter<Annotatable> mergeFilter = new AllOfFilter<>(Arrays.asList(pipelineFilter, Annotationtype.MERGE_TYPE.createFilter("Default"))); 167 Protocol demuxProtocol = (Protocol)Subtype.DEMUX_PROTOCOL.getLatestProjectDefault(dc, demuxFilter); 168 Software demuxSoftware = (Software)Subtype.DEMUX_SOFTWARE.getLatestProjectDefault(dc, demuxFilter); 169 Protocol mergeProtocol = (Protocol)Subtype.MERGE_PROTOCOL.getLatestProjectDefault(dc, mergeFilter); 170 Software mergeSoftware = (Software)Subtype.MERGE_SOFTWARE.getLatestProjectDefault(dc, mergeFilter); 165 171 166 172 String flowCellType = (String)Annotationtype.FLOWCELL_TYPE.getAnnotationValue(dc, flowCell); -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/dao/Annotationtype.java
r6209 r6213 1762 1762 1763 1763 /** 1764 The "DemuxType" annotation, used for software/protocol items 1765 of type Demuxing. It is a string enum annotation containing the 1766 name of the merge software used. 1767 @since 4.32 1768 */ 1769 public static final Annotationtype DEMUX_TYPE = 1770 new Annotationtype("DemuxType", Type.STRING, false, Item.SOFTWARE, Item.PROTOCOL); 1771 1772 /** 1773 The "MergeType" annotation, used for software/protocol items 1774 of type Merging. It is a string enum annotation containing the 1775 name of the merge software used. 1776 @since 4.32 1777 */ 1778 public static final Annotationtype MERGE_TYPE = 1779 new Annotationtype("MergeType", Type.STRING, false, Item.SOFTWARE, Item.PROTOCOL); 1780 1781 /** 1764 1782 The "AlignmentType" annotation, used for software/protocol items 1765 1783 of type Alignment. It is a string enum annotation containing the -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/FastqServlet.java
r6187 r6213 98 98 { 99 99 ms.loadAnnotations(dc, "pipeline", Annotationtype.PIPELINE, null); 100 ms.loadAnnotations(dc, "rawFastq", Annotationtype.RAW_FASTQ, null); 100 101 Library lib = ms.getLibrary(dc); 101 102 lib.loadBioPlateLocation(); -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/InstallServlet.java
r6209 r6213 686 686 new ValueOptions("GENE_REPORT", "PILOT_REPORT", "SCANB_REPORT"), 687 687 createIfMissing, effectivePermissionsUse)); 688 jsonChecks.add(checkAnnotationType(dc, Annotationtype.DEMUX_TYPE, 1, 689 new ValueOptions("Picard", "bcl2fastq"), 690 createIfMissing, effectivePermissionsUse)); 691 jsonChecks.add(checkAnnotationType(dc, Annotationtype.MERGE_TYPE, 1, 692 new ValueOptions("Default", "Import"), 693 createIfMissing, effectivePermissionsUse)); 688 694 jsonChecks.add(checkAnnotationType(dc, Annotationtype.ALIGNMENT_TYPE, 1, 689 695 new ValueOptions("Tophat", "Hisat", "MIPs"), … … 1070 1076 1071 1077 jsonChecks.add(checkAnnotationTypeCategory(dc, Subtype.DEMUX_SOFTWARE, createIfMissing, 1072 Annotationtype.PARAMETER_SET, Annotationtype.PIPELINE, Annotationtype.EXTERNAL_REF 1078 Annotationtype.PARAMETER_SET, Annotationtype.PIPELINE, Annotationtype.EXTERNAL_REF, 1079 Annotationtype.DEMUX_TYPE 1080 )); 1081 jsonChecks.add(checkAnnotationTypeCategory(dc, Subtype.DEMUX_PROTOCOL, createIfMissing, 1082 Annotationtype.PIPELINE, Annotationtype.DEMUX_TYPE 1073 1083 )); 1074 1084 jsonChecks.add(checkAnnotationTypeCategory(dc, Subtype.MERGE_SOFTWARE, createIfMissing, 1075 Annotationtype.PARAMETER_SET, Annotationtype.PIPELINE 1085 Annotationtype.PARAMETER_SET, Annotationtype.PIPELINE, Annotationtype.MERGE_TYPE 1086 )); 1087 jsonChecks.add(checkAnnotationTypeCategory(dc, Subtype.MERGE_PROTOCOL, createIfMissing, 1088 Annotationtype.PIPELINE, Annotationtype.MERGE_TYPE 1076 1089 )); 1077 1090 jsonChecks.add(checkAnnotationTypeCategory(dc, Subtype.MASKING_SOFTWARE, createIfMissing,
Note: See TracChangeset
for help on using the changeset viewer.