Description
Convert two columns from a CSV file to FASTA entries. The CSV file can
contain an optional header and each row (other than the header) becomes
a single FASTA record. One of the two columns will be used as the names
for the FASTA entries, while the other become the sequences. The sequences
column must only contain characters that are valid IUPAC notation for
nucleotides or a group thereof (wildcard characters).
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
output: "$id.$key.output.fasta"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/craftbox.git \
-revision v0.3.3 \
-main-script target/nextflow/csv2fasta/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
--header | boolean_true |
Name | Type & Properties |
|---|---|
--delimiter | string |
--quote_character | string |
Name | Type & Properties |
|---|---|
--sequence_column | string |
--name_column | string |
--sequence_column_index | integer |
--name_column_index | integer |
Name | Type & Properties |
|---|---|
--output | file output |