Changes

From Genome Analysis Wiki
Jump to navigationJump to search
no edit summary
Line 1: Line 1:  +
'''NOTE: Not all validation Criteria has been listed here, and not all listed here have been implemented  (Implemented checks are marked green.)'''
 +
 
=== SAM Header Validation Rules ===
 
=== SAM Header Validation Rules ===
 
TODO
 
TODO
Line 65: Line 67:  
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|style="background-color:red;"|
 
+
|-
 
+
| Header has X-lines or fewer (or a max number of SQ lines (this was a problem once of a file with a crazy number of header lines)
 
+
|style="background-color:red;"|
 
+
|style="background-color:red;"|
 +
|style="background-color:red;"|
 +
|style="background-color:red;"|
 
|}
 
|}
   Line 89: Line 93:  
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|-
 
|-
| QNAME does not contain [ \t\n\r]
+
| QNAME is valid: [!-?A-~] (printable characters minus space and '@') '''This is a new regular expression'''
|style="background-color:green;"|
+
|style="background-color:red;"|
|style="background-color:green;"|
+
|style="background-color:red;"|
|style="background-color:green;"|
+
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|-
 
|-
Line 159: Line 163:  
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|style="background-color:red;"|
 +
|style="background-color:red;"|
 +
|-
 +
| CIGAR string matches the length of SEQ if both are not "*"
 +
|style="background-color:green;"|
 +
|style="background-color:green;"|
 +
|style="background-color:green;"|
 
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|-
 
|-
Line 215: Line 225:  
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|-
 
|-
| If QUAL is not “*” it is the same length as SEQ.
+
| If QUAL and SEQ are not “*” they are the same length.
|style="background-color:red;"|
+
|style="background-color:green;"|
|style="background-color:red;"|
   
|style="background-color:red;"|
 
|style="background-color:red;"|
 +
|style="background-color:green;"|
 
|style="background-color:red;"|
 
|style="background-color:red;"|
 
|-
 
|-
Line 300: Line 310:     
Consider may want to validate the cigar string against the read length...
 
Consider may want to validate the cigar string against the read length...
      
== Other Read Validation ==
 
== Other Read Validation ==

Navigation menu