Hi, I am using a perl script to fetch the alignments. I am using the script below in a for loop . Sometimes however nothing is returned... For example if I retrieve $chrom=6 $loc=29105729-29106620 then it does not return the next one $chrom=6 $loc=28751417-28751785; however if I do them both separately (not in a for loop) I get an answer...I tried to put the program to sleep for a while but it doesn't work. What can I do to avoid this problem ??
. $url = "http://genome.ucsc.edu/cgi-bin/hgTables?&clade=mammal&org=Human&db=hg19" ."&hgta_group=compGeno&hgta_track=cons46way&hgta_table=multiz46way" . "&hgta_regionType=range&hgta_outputType=maf&boolshad.sendToGalaxy=0" . "&hgta_outFileName=&hgta_compressType=none&hgta_doTopSubmit=get+output" . "&position=chr$chrom%3A$loc"; $request = HTTP::Request->new('GET', $url); $response = $ua->request($request); $fckmirnas = $response->content; Thank you Nicholas -- The oppressed become the oppressors Paulo Freire (1921-1997) _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
