We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's because the line 19: print function: missed brackets and should be: print(record.id + "\t" + repr(len(seq)))
print(record.id + "\t" + repr(len(seq)))
Meanwhile: line 9 should be at some line
from Bio import SeqIO from optparse import OptionParser parser = OptionParser() parser.add_option("-i", "--inputfile", dest="ifilename",help="fasta file", metavar="FILE") (options, args) = parser.parse_args() minqual = 20 handle = open(options.ifilename, "rU") for record in SeqIO.parse(handle, "fasta"): seq = record.seq print(record.id + "\t" + repr(len(seq))) handle.close()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It's because the line 19:
print function: missed brackets and should be:
print(record.id + "\t" + repr(len(seq)))
Meanwhile:
line 9 should be at some line
The text was updated successfully, but these errors were encountered: