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 24, 2024
1 parent 048bfcc commit 2ba60db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/gffread/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ argument_groups:
type: file
direction: output
must_exist: false
required: true
description: |
Write the output records into <outfile>.
default: output.gff
example: output.gff
- name: --force_exons
type: boolean_true
description: |
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
2 changes: 1 addition & 1 deletion src/gffread/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ diff "$expected_output_dir/annotation.gtf" "$test_output_dir/annotation.gtf" ||

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 2ba60db

Please sign in to comment.