Skip to content

Commit

Permalink
Make output file argument required
Browse files Browse the repository at this point in the history
  • Loading branch information
emmarousseau committed Mar 21, 2024
1 parent f522635 commit f4a05b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gffread/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ argument_groups:
type: file
direction: output
must_exist: false
required: true
description: |
Write the output records into <outfile>.
default: output.gff
Expand Down
2 changes: 1 addition & 1 deletion src/gffread/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ gffread \
"$par_input" \
${par_chr_mapping:+-m "$par_chr_mapping"} \
${par_seq_info:+-s "$par_seq_info"} \
${par_outfile:+-o "$par_outfile"} \
-o "$par_outfile" \
${par_force_exons:+--force-exons} \
${par_gene2exon:+--gene2exon} \
${par_t_adopt:+--t-adopt} \
Expand Down
1 change: 1 addition & 0 deletions src/gffread/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ echo "> Test 3 - Generate fasta file from annotation file"
"$meta_executable" \
--genome "$test_dir/sequence.fasta" \
--spliced_exons "$test_output_dir/transcripts.fa" \
--outfile "$test_output_dir/output.gff" \
--input "$test_dir/sequence.gff3"

echo ">> Check if output exists"
Expand Down

0 comments on commit f4a05b1

Please sign in to comment.