Skip to content

Commit f63fe9e

Browse files
Jon PalmerJon Palmer
Jon Palmer
authored and
Jon Palmer
committed
minor changes
1 parent 6bc159a commit f63fe9e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

bin/funannotate-functional.py

-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ def __init__(self,prog):
2727
parser.add_argument('-i','--input', help='Folder from funannotate predict.')
2828
parser.add_argument('--genbank', help='Annotated genome in GenBank format')
2929
parser.add_argument('--fasta', help='Genome in FASTA format')
30-
parser.add_argument('--proteins', help='Proteins in FASTA format')
31-
parser.add_argument('--transcripts', help='Transcripts in FASTA format')
3230
parser.add_argument('--gff', help='GFF3 annotation file')
3331
parser.add_argument('-o','--out', help='Basename of output files')
3432
parser.add_argument('--sbt', default='SBT', help='Basename of output files')
@@ -452,7 +450,6 @@ def parseEggNoggMapper(input, output, GeneDict):
452450
sys.exit(1)
453451
else:
454452
Scaffolds = args.fasta
455-
Transcripts = args.transcripts
456453
GFF = args.gff
457454
Proteins = os.path.join(outputdir, 'annotate_misc', 'genome.proteins.fa')
458455
TBL = os.path.join(outputdir, 'annotate_misc', 'genome.tbl')

lib/library.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ def _sortDict(d):
964964
Genes[Parent]['CDS'].append((start, end))
965965
Genes[Parent]['phase'].append(phase)
966966
if len(orphans) > 0:
967-
log.error("GFF file is not properly sorted, i.e. gene, mRNA, exon, CDS")
967+
log.error("GFF file parsing error, child features found without valid Parent. Check child/parent naming scheme.")
968968
sys.exit(1)
969969
#now sort dictionary by contig and location
970970
sGenes = sorted(Genes.iteritems(), key=_sortDict)

0 commit comments

Comments
 (0)