Page History
Table of Contents | ||||
---|---|---|---|---|
|
For new projects, a sample table can be automatically created from a tab-delimited text file. There There are several advantages of creating a sample table in this manner:
- You can define multiple samples and attributes even before data has been imported, and therefore allowing you canto:
- Customize customize the name of your samples (and not use , thus avoiding the automatic sample names generated based on file names)
- Import import sample sheets as defined by the instrument that generated your data
- You can simultaneously create the sample table and import data, which allows allowing you to:
- Combine combine several files into one sample
- Import import data located in multiple subdirectories
This process of generating a sample table based on a text file can only be done once per project. Additional samples or attributes can still be added using the Import data or Manage attributes buttons under the Data Tab.
Select the Text File
The text file must be created outside of Partek® Flow® (using other you can use software such as Partek® Genomics Suite®, Microsoft® Excel® or any other text editor). A valid text file is a tab-delimited text file that contains at one sample per row and columns containing sample information. At least one column that has must have unique entries (to and will be used suggested as Sample IDs) and may have additional columns with sample information such as experimental attributes.In a Data Tab where . Additional columns may contain numeric or categorical attributes and (optional) filenames. Examples of text files are shown in Figures 3 and 6.
To select the text file, create a new project and in the blank Data Tab (no samples have been imported yet (Figure 1), click the Assign sample attributes values from a file button (Figure 1).
Numbered figure captions | ||
---|---|---|
|
...
|
...
|
...
Navigate to the file using the browser as shown in in Figure 2. The text file may be located in either the Partek Flow server, My computer, or from a URL.
Check the box next to the text file that you want to use and click Next.
...
...
Numbered figure captions | ||||
---|---|---|---|---|
|
...
Create the Sample Table
Text files that contain only sample information IDs and attributes such as the one shown in Table 1 Figure 3 can be imported to create a sample table with no associated files. For this type of import, the text file may be located in either the Partek Flow server, My computer, or from a URL (Figure 2 (If you wish to couple the table creation with data import, you must include the filenames as described in the section below on how to Include Data Import).
...
Numbered figure captions |
---|
...
|
...
|
...
|
...
...
The text file will be summarized as in Figure 4. The first two columns show the headers and example terms parsed from the text file in Figure 3. The suggested attribute names can be renamed before import. Columns that contain unique entries and suggest those are recognized as possible Sample IDs.
In Figure 3, the headers of the text file are presented and the user can select the Sample ID, which to be imported and and can be selected using the radio button. You can choose which attributes to include and, if applicable, whether they are numeric or categorical.
The headers from the text file are in the first column as Attribute names, which can be edited. Example entries are shown
The Show/hide file preview link allows you to preview the text of the tab delimited text file you are using.
In the example in Figure
34, the columns for "Sample name" and "Freezer Location" are both unique and the
radio button can be used to select the preferred sample IDformer is selected as the Sample ID. The "Freezer location" has been deselected and it will not be included in the resulting Sample table. Since "Age" has all number terms, the Attribute type column for it is a drop down menu to choose between Numeric and Categorical. There are no filenames in the text file so the Files column is empty.
...
Numbered figure captions | ||||
---|---|---|---|---|
|
...
...
You can also unselect the columsn you do not wish to import
...
Numeric can be imported as smaple attributes
...
...
...
...
...
Creating a Sample Table with Data Import
A feature of creating the sample ability to combine this step with data import ... the additional feature of importing samples during table creation (described below) are currently only available if the text file is in the Partek Flow Server.
can only be at the same time as creating the sample table) can only be performed if
a sample table that also includes the locations of filenames can only be based on the sample table (as described later in this section)
The text file must be in the server or a folder that is readable by the partek flow server. the text file contains filenames
A valid text file:
TABLE TEXT FILE NO PATH
useful if there are many files for one sample, You can add as many columns as you want on the right
Flow recognizes sees that some columns in your text file are filenames of
In the example above, the text file and Data files are in the same directory. If your samples are in different subdirectories, YOU CAN USE PATHS. RELATIVE OR ABSOLUTE
Relative path
Relative to the text file
Absolute path
FIGURE NAVIGATION SHOW THAT THE DATA IS IN DIFFERENT DIRECTORY AND the directory structure starts with /home/directory....
TABLE ABSOLUTE PATH
you must write the path this way
For a short video of using a text file, please see. the
Note that this can only be done on a blank project... once you have any import
Additional assistance |
---|
|
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
|
Include Data Import
The filenames must show the proper extensions of data types compatible with Partek Flow (see Types of Data).
Text file and data are both in server and in same directory
If the text file and the data files are both in the same directory of the Partek Flow server, simply include the filenames in the text file as shown in Figure 6. You do not have to specify the file path.
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
Text file and data are in different directories
If the text file and the data files are in different directories, you must modify Figure 6 to include the file paths. For text files located in the Partek Flow server, you can use relative or absolute file paths. For text files located in My Computer or URL you must use an absolute file path. (Remember that in either case, the data files must have already been uploaded in the Partek Flow server.)
Relative path
You can use a path relative to the location of the text file you are using to create the sample table. For example in Figure 7, the text file is located in a directory called "download" while the files are in a subdirectory called MyData, then the filenames must include the path /MyData/. An example would be: /MyData/NA1031_S25_L007_R1_001.fastq.gzNumbered figure captions | ||||
---|---|---|---|---|
| ||||
Absolute path
You can use the full path to the file based on your Partek Flow server. You must include the paths starting from the Partek Flow home directory (Figure 8, red box). For typical installations, the path begins with /home/flow/FlowData/ and so the filenames to include in the text file may look like this: /home/flow/FlowData/download/MyData/NA1031_S25_L007_R1_001.fastq.gz
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
Once you have selected the text file with filenames and/or file paths, click Next. The text file will be summarized as in Figure 9. If the file types are valid, Partek Flow will recognize the filenames and locate the files within the directory. The Files column represent files to be imported.
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
|
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
At this stage, you can also go to the Analyses Tab of the project and see that the data node has been created but the color is light blue, which indicates the import is not complete (Figure 12, left). Once all the files have been imported from the queue, the data node will appear darker (Figure 12, right).
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
To view the files associated with the data, go to the Data Tab and click Show data files to expand the table. Figure 13 shows that four files were successfully imported for each sample. You can add or delete samples as described in the Adding samples section.
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
Additional assistance |
---|
Rate Macro | ||
---|---|---|
|