Skip to content

Commit

Permalink
Update run_component_tests_for_metagenomics.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
meren committed Aug 16, 2024
1 parent a6e4a0d commit b461f29
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions anvio/tests/run_component_tests_for_metagenomics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -643,10 +643,18 @@ anvi-get-codon-frequencies -c $output_dir/CONTIGS.db \
--no-progress
SHOW_FILE $output_dir/CODON_frequencies_for_the_contigs_db.txt

INFO "Getting back the sequence for gene call 3"
INFO "Learning about the available defline variables"
anvi-get-sequences-for-gene-calls -c $output_dir/CONTIGS.db \
--gene-caller-ids 3 \
-o $output_dir/Sequence_for_gene_caller_id_3.fa \
--list-defline-variables \
--no-progress

INFO "Getting back the sequence for gene call 3 with a specific defline template"
anvi-get-sequences-for-gene-calls -c $output_dir/CONTIGS.db \
--gene-caller-ids 3 \
-o $output_dir/Sequence_for_gene_caller_id_3.fa \
--defline-format "{contigs_db_project_name}_{contig_name}_{gene_caller_id}" \
--no-progress

INFO "Getting back the AA sequence for gene call 3"
Expand Down Expand Up @@ -697,12 +705,13 @@ anvi-get-sequences-for-hmm-hits -c $output_dir/CONTIGS.db \
-L \
--no-progress

INFO "Get DNA sequences for HMM hits for a bin in a collection"
INFO "Get DNA sequences for HMM hits for a bin in a collection with a defline format"
anvi-get-sequences-for-hmm-hits -p $output_dir/SAMPLES-MERGED/PROFILE.db \
-c $output_dir/CONTIGS.db \
-C CONCOCT \
-b Bin_1 \
-o $output_dir/hmm_hits_sequences_in_Bin_1.txt \
--defline-format "{contig_name}_{gene_callers_id}"
--no-progress

INFO "Get DNA sequences for all ABC transporter hits defined in an HMM source"
Expand Down

0 comments on commit b461f29

Please sign in to comment.