We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 363ed90 commit b40be46Copy full SHA for b40be46
cat/__init__.py
@@ -942,7 +942,7 @@ def run(self):
942
pipeline_args = self.get_pipeline_args()
943
df = tools.gff3.parse_gff3(self.annotation_attrs, self.annotation_gp, self.genome != self.ref_genome)
944
if 'protein_coding' not in set(df.GeneBiotype) or 'protein_coding' not in set(df.TranscriptBiotype):
945
- logger.critical('No protein_coding annotations found!')
+ raise InvalidInputException('No genes or transcripts with biotype protein_coding found!')
946
# validate number parsed
947
tot_genes = len(open(self.annotation_gp).readlines())
948
if tot_genes != len(df):
0 commit comments