Page History
...
Numbered figure captions | ||||
---|---|---|---|---|
| ||||
...
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 are recognized as possible Sample IDs and can be selected using the radio button. You can choose which attributes to be included and, if applicable, whether they are numeric or categorical. 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 4, the columns for "Sample name" and "Freezer Location" are both unique and the former 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 | ||||
---|---|---|---|---|
| ||||
Creating a Sample Table with Data Import
...
If the text files are in the same directory as the Data files, simply include the filenames in the text file as shown in Figure 6. You do not have to specify the file path.
Figure 6: Text with Attributes attributes and Filenamesfilenames
The text file will be summarized as in Figure 7. Filenames that are recognized as valid file types and also located in the same folder as the text file are presented in the Files column.
Figure 7. Selecting the attributes, Sample ID and filenames
Figure 8. Sample Table table created from a Text File and files are queued up for the import text file and data is queued for import
Figure 9. Task Queue showed each file is queued for import
Figure 10. Sample Table created from a Text File with Attributes and associated imported Files
In the example above, the text file and Data files are in the same directory.
showing files import tasks for each file
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.
Once all the files have been imported from the queue, Analyses Tab will show the data node to be dark blue,
Figure 10. Analyses Tab showing data node during import (left) and once the import is completed (right)
To view the files associated with the data, go to the Data Tab and click Show data files to expand the table. Figure 11 shows that 4 files were successfully imported for each sample. You can add more or delete samples as described in the Adding samples section.
Figure 11. Expanded sample table created from a text file with attributes and associated data files
Text file and data are in different directories
If your samples are in different subdirectories,
YOU CAN USE PATHS. RELATIVE OR ABSOLUTERelative 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
...
you must include the path in for your file name. You can use either a relative path or an absolute path.
Relative paths
This means the the path you will include is relative to the location of the text file. For example in Figure 12, 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 is shown below:
/MyData/NA1031_S25_L007_R1_001.fastq.gz
Figure 12. The text file is located in a directory called "download" while the files are located in a directory one level below called "MyData"
Absolute path
This means the the path you will include is the full file path to the file based on the file structure of Partek Flow. Where the text file is located you can simply add the directories based on the Partek Flow home directory (see region in red box in Figure 13). 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
Figure 13. The Current directory (red box) shows the file path to be included in a text file containing absolute paths
Note that this can only be done on a blank project... once you have any import
Issue with Pairing KB-6392 reopened
...