![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
extract full fasta file for local blast hits | Oyster | Bioinformatics | 9 | 07-07-2019 08:39 AM |
extract data from fasta-files with perl?? | anna_ | Bioinformatics | 20 | 02-17-2016 08:29 AM |
perl : Remove redundant feature in fasta file | StephaniePi83 | Bioinformatics | 9 | 12-15-2012 07:01 PM |
Perl: get specific base from FASTA file. | njh_TO | Bioinformatics | 6 | 02-02-2012 06:34 AM |
Help with glimmer multi-extract | sbberes | Bioinformatics | 2 | 03-19-2010 02:35 PM |
![]() |
|
Thread Tools |
![]() |
#21 |
Junior Member
Location: Japan Join Date: Mar 2012
Posts: 1
|
![]()
Thanks.
I didn`t know about Biopieces. It is really useful. Highly recommended for those whose programing ability is low |
![]() |
![]() |
![]() |
#22 |
Member
Location: Naples, Italy Join Date: Feb 2012
Posts: 50
|
![]()
A quick way to do in bioperl
http://biostar.stackexchange.com/que...3gb-fasta-file |
![]() |
![]() |
![]() |
#23 |
Junior Member
Location: india Join Date: Nov 2011
Posts: 2
|
![]()
hello everyone...
I am using the following perl script for retrieving sequences in fasta format..... use Bio::Perl; $database="genbank"; $format="fasta"; $pipe ="\\|"; $space = " "; open(INPUTFILE, "<1.txt"); while(<INPUTFILE>) { my($line) = $_; chomp($line); $line=~ s/$space/:/; $line=~ s/$pipe/$space/; $line=~ s/g/G/; $line=~ s/i/I/; $id= "$line"; #print "$id"; #print "\n"; $sequence = get_sequence($database, $id); $test = write_sequence( ">>sequences_1.txt", $format, $sequence); open (CHK , ">>checking.txt"); print CHK <<HERE; $test HERE close CHK; } exit; after getting some sequences i am getting an error messege.... -----------Exception------------- MSG: WebDBSeqI Request Error: HTTP/1.1 502 Bad Gateway connection: close Date: . . . . . . <?xml version="1.0" encoding="ISO-8859-1"? The proxy server received an invalid response from an upstream server. plz help me out... |
![]() |
![]() |
![]() |
#24 |
Junior Member
Location: india Join Date: Nov 2011
Posts: 2
|
![]()
hello everyone...
I am using the following perl script for retrieving sequences in fasta format..... use Bio::Perl; $database="genbank"; $format="fasta"; $pipe ="\\|"; $space = " "; open(INPUTFILE, "<1.txt"); while(<INPUTFILE>) { my($line) = $_; chomp($line); $line=~ s/$space/:/; $line=~ s/$pipe/$space/; $line=~ s/g/G/; $line=~ s/i/I/; $id= "$line"; #print "$id"; #print "\n"; $sequence = get_sequence($database, $id); $test = write_sequence( ">>sequences_1.txt", $format, $sequence); open (CHK , ">>checking.txt"); print CHK <<HERE; $test HERE close CHK; } exit; after getting some sequences i am getting an error messege.... -----------Exception------------- MSG: WebDBSeqI Request Error: HTTP/1.1 502 Bad Gateway connection: close Date: . . . . . . <?xml version="1.0" encoding="ISO-8859-1"? <!DOCTYPE html PUBLIC "-//W#C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="htttp://www.org/1999/xhtml" lang="en" xm:lang="en" <head> <title>Bad Gateway!</title> <link rev="made" href="mailto:info@ncbi.nlm.nih.gov"/> The proxy server received an invalid response from an upstream server. plz help me out... |
![]() |
![]() |
![]() |
#25 | |
Junior Member
Location: India Join Date: Sep 2010
Posts: 2
|
![]()
Dear ......,
I follow the same steps but it is not working ... Vivek Quote:
__________________
Vivek Keshri |
|
![]() |
![]() |
![]() |
#26 |
Member
Location: florida Join Date: Jan 2013
Posts: 67
|
![]() |
![]() |
![]() |
![]() |
#27 | |
Junior Member
Location: Sydney, Australia Join Date: Dec 2017
Posts: 3
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#28 |
Member
Location: Bhopal Join Date: Jul 2019
Posts: 19
|
![]()
On the off chance that you need groupings separated from a multi-FASTA and are available to utilizing a prior instrument, I would likewise recommend either the faSomeRecords or faOneRecord direction line utilities from UCSC.
They have renditions of this apparatus for OSX and Linux. Here is a connection to the executable downloads: http://hgdownload.cse.ucsc.edu/administrator/exe/ The distinction between the two: faOneRecord takes the grouping name to separate from the order line, faSomeRecords peruses in a record of at least 1 succession names to remove from the multi-FASTA. |
![]() |
![]() |
![]() |
Thread Tools | |
|
|