Question: I am using this format for generate a fasta file from.txt, but when I run the python it says: ilelnput open(svs.argv[1], r] IndexError: list index

 I am using this format for generate a fasta file from.txt,

I am using this format for generate a fasta file from.txt, but when I run the python it says: ilelnput open(svs.argv[1], "r"] IndexError: list index out of range Please a possible solution for this? import sys #File input #File output ileautout open(.arev2], "w #Sea count count-L #Loop through each line in the input file print "Converting to FASTA.. for strline in fleoRut- #Strip the endline character from each input line suine = sttLine.ctriern") #Output the header tileRutputeeritel">-str(count) + " ") count-count1 print ("Done." #Close the input and output file leloout.clesel)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!