|
3.4
|
fnafile [options] (fastafile or PHDfile or SCFfile or directory)...
|
By default, all reads in the inputs are written to the output file. If the “-i” (Include only these reads in output) or “-e” (Exclude these reads from output) options are used, the accession numbers given in the files specified will change the reads that are output. The associated accnofile files should list the accession numbers one per line. These options are cumulative, i.e. if multiple -i options are given, the reads included will be the union of the -i accession lists.
|
|
|
These two options adjust the trim points for some or all reads in the output file. The specified “trimfile” should contain one or more lines consisting of (1) a read accession number, (2) a starting trimpoint and (3) an ending trimpoint, separated by whitespace characters or where the trimpoints are separated by a dash (e.g., “accno 12 543” or “accno 12-543”).
The trimpoint values are 1-based position values that denote the first and last base of the trimmed region (e.g. for a read 800 bases in length, the example above specify that bases 1-11 and 544-800 should be ignored, and bases 12-543 form the trimmed region of the read). A value of 0 specifies that the beginning or end of the read should be used (e.g. for a read 800 bases in length, the line “accno 12 0” sets the trimmed region to 12-800).
|
|
|
(2) If the text to the right of the accession number does begins with a ‘>’, it will completely replace the description line for the input read, including changing the accession number for the read. For example, the line
|
|
|
The fnafile command will execute the command string “command accno ‘description’” for each read, where “command” is the value of the –ac option, “accno” is the first non-whitespace string on the input read’s description line, and “description” is the input read’s full description line (including the accno).
|
|
|
Note: This command is not aware of consed’s phd_dir versioning of reads. If a phd_dir directory is given that contains multiple versions of the PHD file for a single read, all versions will be read and used by the command, and multiple versions of those reads will appear in the output FASTA file. The same holds true if a phd.ball file and individual PHD files are given on the command line.
|