From b25be4d8a978e8e769b0defee811ac50be5693f9 Mon Sep 17 00:00:00 2001 From: tderrien Date: Wed, 13 Jul 2022 18:21:09 +0200 Subject: [PATCH] Add minnumtx for test_file in both .fa and .gtf input test --- scripts/FEELnc_codpot.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/FEELnc_codpot.pl b/scripts/FEELnc_codpot.pl index b975603..caa0c53 100755 --- a/scripts/FEELnc_codpot.pl +++ b/scripts/FEELnc_codpot.pl @@ -348,6 +348,7 @@ +my $minnumtxtest = 1 ; ########################################################## # test file ####### @@ -356,13 +357,13 @@ { print STDERR "> Extract ORFs/cDNAs for candidates RNAs from a GTF file\n"; # Use undef for $nbtx/$numtx to get all sequences and ORFs - ExtractCdnaOrf::CreateORFcDNAFromGTF($infile, $testFile, $testOrfFile, undef, 1, $genome, 'exon,CDS,stop_codon,start_codon', undef, $orfTypeTest, $verbosity, $kmerMax); + ExtractCdnaOrf::CreateORFcDNAFromGTF($infile, $testFile, $testOrfFile, undef, $minnumtxtest, $genome, 'exon,CDS,stop_codon,start_codon', undef, $orfTypeTest, $verbosity, $kmerMax); } elsif(Utils::guess_format($infile) eq "fasta") # -- if FASTA { print STDERR "> Extract ORFs/cDNAs for candidates RNAs from a FASTA file\n"; # Use undef for $nbtx/$numtx to get all sequences and ORFs - ExtractCdnaOrf::CreateORFcDNAFromFASTA($infile, $testFile, $testOrfFile, undef, 1, $orfTypeTest, $verbosity, $kmerMax); + ExtractCdnaOrf::CreateORFcDNAFromFASTA($infile, $testFile, $testOrfFile, undef, $minnumtxtest, $orfTypeTest, $verbosity, $kmerMax); } else {