# Large File Viewer

Partek Flow software provides a built-in *Large File Viewer* to preview files generated by tasks within a project. The file types supported by the viewer are:

| <p>.bam<br>.fastq<br>.fastq.gz<br>.txt</p> | <p>.sam<br>.csfasta<br>.csfastq<br>.fa<br>.fq</p> | <p>.bgx<br>.bpm<br>.probe\_tab<br>.qual<br>.raw</p> |
| ------------------------------------------ | ------------------------------------------------- | --------------------------------------------------- |

\
The *Large File Viewer* is particularly useful when you would like to:

* preview large output files within a project
* preview details of a binary BAM file (including headers and summary)
* quickly preview a text file from the task details
* download specific files (if you do not want to download the whole data node)
* preview files that you have imported into a project

\
The preview will display up to the first 1000 lines.

This feature of Partek Flow is one of the ways the software provides access to your own data. Remember that in Partek Flow, you can also download any data node through the context-sensitive menu (select a data node and choose *Download* data from the menu). Furthermore, any table from a Task Report can be downloaded by selecting the *Download* hyperlink at the bottom right of each table.

### Previewing a File from the Task Details <a href="#largefileviewer-previewingafilefromthetaskdetails" id="largefileviewer-previewingafilefromthetaskdetails"></a>

The way to access the viewer is through the *Task details* page. Select a rectangular task node and choose the **Task details** in the context-sensitive menu (Figure 1). You can also access the **Task details** from the bottom of any *Task report*.

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-6c2871d143af4925bd00925da294e50ae76b9a6a%2Flarge%20file%20viewer%20image%201.png?alt=media" alt=""><figcaption><p>Figure 1. Opening the Task details</p></figcaption></figure>

The *Output files* section of the *Task details* page shows the different files generated by the task (Figure 2).

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-c4cff4eb74ab814f5a6dc53d27017e4962ff1d38%2Flarge%20file%20viewer%20image%202.png?alt=media" alt=""><figcaption><p>Figure 2. Selecting an output file to preview from the Task details</p></figcaption></figure>

Note that since some filenames created by Partek Flow are generated by appending the filename of an input file, files may contain several file name extensions. The last extension is the actual file format for the file. In the example in Figure 2, the file in the first row (SRR1020608.fastq.bam) is a BAM file generated from a FASTQ file.

\
To open the *Large File Viewer*, click the name of the output file and select from the viewing options (Figure 3), which depends on the data type selected.

Note that only files listed in the first section of this document are compatible with the viewer. If you select a file from the table that is not compatible (such as a zip file), the file will not be not previewed, but would be downloaded to your local drive.\
Once you have made your selection from the radio buttons (Figure 3), click **View Data**. You also have the option to **Download** the selected file instead of previewing it.

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-a028b96b9c75d39edb81c1f2bb76dea654a48763%2Flarge%20file%20viewer%20image%203.png?alt=media" alt=""><figcaption><p>Figure 3. Choices when viewing a BAM file</p></figcaption></figure>

For raw data, the *Large File Viewer* will display an *Output file preview* in a scrollable window showing up to 1000 lines (Figure 4). The filename, filesize, and the name of the task that generated the file are also displayed.

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-2135de2f1f2c00d8fdb4aef57e9848ecf120661b%2Flarge%20file%20viewer%20image%204.png?alt=media" alt=""><figcaption><p>Figure 4. Output file preview for viewing raw data</p></figcaption></figure>

For BAM files, additional options are to display the headers that were generated by the aligners (Figure 5) and the SAMtools flagstat summary statistics (Figure 6).

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-d1b4b27dfec7b93b70c8c186b1cdc000c54c9fc4%2Fviewer_bam_header_preview.png?alt=media" alt=""><figcaption><p>Figure 5. BAM header preview</p></figcaption></figure>

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-e0b9287ec0a2c45a3d9d163133a446c1f7589ed4%2Fviewer_simple_stats.png?alt=media" alt=""><figcaption><p>Figure 6. Simple stats (samtools flagstat) for a BAM file</p></figcaption></figure>

### Previewing an Imported File

There may be situations when you wish to preview files that were originally imported into a project. However the first data node in project (known as the origin data node) does not have any task details associated with it in the context-sensitive menu (Figure 7).

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-8b650afa36b0ce15bad222e86c610627e15d73da%2Fimported_origin_file.png?alt=media" alt=""><figcaption><p>Figure 7. The origin data node does not have task details in the context-sensitive menu</p></figcaption></figure>

To access the task details in an import task, go to the **Log** tab of the project and select the **Import** task in the table (Figure 8). Select the top level task **Import** (and not the *Import unaligned reads*).

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-f5207671317756c1b24bfcb7b971478492b3d675%2Fimport_task_log_tab.png?alt=media" alt=""><figcaption><p>Figure 8. The log tab showing the Import task</p></figcaption></figure>

Selecting the **Import** from the *Log* table reveals the *Task details* and the file that was successfully imported (Figure 9). Note that even though the file has just been imported, it is placed under the *Output files* section because it has already gone through the import process of file validation and other file checks.

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-8663d0d7a40e80645c917250aa6c37be3e0e537a%2Ftask_details_import.png?alt=media" alt=""><figcaption><p>Figure 9. Task details of an Import task</p></figcaption></figure>

To open the *Large File Viewer*, simply select the filename of the file you wish to preview as explained in the previous section.

\\

### Additional Assistance <a href="#largefileviewer-additionalassistance" id="largefileviewer-additionalassistance"></a>

If you need additional assistance, please visit [our support page](http://www.partek.com/support) to submit a help ticket or find phone numbers for regional support.
