Develop a Perl program that receives as argument on the command line the id of a nucleotide sequence (in the form db:id) and invokes the “remap” Web Service from ebi printing its result..
-It checks the number of arguments received on the command line and if the number is not 1 it prints an error message and exits.
-It assigns the first argument to one variable.
-It checks with a pattern matching that the variable contains the character “:”. If not it prints an error message.
-It calls the remap Web Service passing the received variable.
-It assigns to a variable the “outfile” returned by the service.
-It prints this variable.
Mi sto esercitando su perl con progetti semplici,questo e' un progetto che mi piacerbbe risolvere,ma ho delle difficolta'.
Qualquno potrebbe cortesemente darmi qualche linea guida?
Grazie
-It checks the number of arguments received on the command line and if the number is not 1 it prints an error message and exits.
-It assigns the first argument to one variable.
-It checks with a pattern matching that the variable contains the character “:”. If not it prints an error message.
-It calls the remap Web Service passing the received variable.
-It assigns to a variable the “outfile” returned by the service.
-It prints this variable.
Mi sto esercitando su perl con progetti semplici,questo e' un progetto che mi piacerbbe risolvere,ma ho delle difficolta'.
Qualquno potrebbe cortesemente darmi qualche linea guida?
Grazie
Ultima modifica: