Skip to content

Commit

Permalink
Merge branch 'updates' of https://github.com/JoseEspinosa/reportho in…
Browse files Browse the repository at this point in the history
…to updates
  • Loading branch information
JoseEspinosa committed May 9, 2024
2 parents 0f1ef99 + 2f2eaf0 commit 36d3769
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/fetch_oma_by_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def main() -> None:
raise ValueError("Not enough arguments. Usage: fetch_oma_by_sequence.py <fasta> <id_out> <taxid_out> <exact_out>")

seqs = SeqIO.parse(sys.argv[1], "fasta")

seq = next(seqs).seq

# Only use the first sequence, ignore all others
Expand Down Expand Up @@ -54,7 +53,6 @@ def main() -> None:
raise ValueError("Isoform not found")

print(entry["canonicalid"], file=open(sys.argv[2], "w"))

print(entry["species"]["taxon_id"], file=open(sys.argv[3], "w"))


Expand Down

0 comments on commit 36d3769

Please sign in to comment.