BioBIKE
(WRITE-TAB-DELIMITED-FILE file-name list-to-output)
- Converts a list to a tab-delimited file
- File can be downloaded and then uploaded into Excel
- Elements at the top level of the list are treated as separate lines
- Elements at the second level are separated by tabs
- Elements at lower levels are retained as sublists
EXAMPLE:
Suppose blast-hits contains the following list:
(("gene1" 2E-47 34 339)
("gene2" 4E-29 98 240)
("gene3" 1E-20 (10 50) (80 230)))
Then:
WRITE-TAB-DELIMITED-FILE blast-hits.txt blast-hits)
produces a file containing:
"gene1" tab 2E-47 tab 34 tab 339
"gene2" tab 4E-29 tab 98 tab 240
"gene3" tab 1E-20 tab (10 50) tab (80 230)
...