From Genome Analysis Wiki
Jump to navigationJump to search
21 bytes added
, 17:18, 30 March 2010
Line 96: |
Line 96: |
| Here is an example of how this would be done. | | Here is an example of how this would be done. |
| | | |
| + | <source lang="cpp"> |
| FastQFile fastQFile; | | FastQFile fastQFile; |
| String filename = <your filename>; | | String filename = <your filename>; |
Line 135: |
Line 136: |
| fastQFile.closeFile(); | | fastQFile.closeFile(); |
| return(<your return info>); // It is up to you to determine your return. | | return(<your return info>); // It is up to you to determine your return. |
− | | + | </source> |
| | | |
| == Validation Criteria Used For Reading a Sequence == | | == Validation Criteria Used For Reading a Sequence == |
− | {| class="wikitable" style="width:100%" border="1" | + | {| class="wikitable" style="width:100%" |
− | |+ style="font-size:150%"|'''Sequence Identifier Line''' | + | |+ style="font-size:150%" |'''Sequence Identifier Line''' |
| ! width="50%"|Validation Criteria | | ! width="50%"|Validation Criteria |
| ! width="50%"|Error Message | | ! width="50%"|Error Message |
− | |- | + | |- |
| | Line is at least 2 characters long ('@' and at least 1 for the sequence identifier) | | | Line is at least 2 characters long ('@' and at least 1 for the sequence identifier) |
| | ERROR on Line <current line #>: The sequence identifier line was too short. | | | ERROR on Line <current line #>: The sequence identifier line was too short. |