Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for perly

Hi, I have a 3-column data (below) from excel file. How can I write a perl code to sort all rows according to the first numeric number of a numeric interval and the word "complement" if they appear before the numeric interval as shown in the expeceted output below? Data: …

Member Avatar for Hiroshe
0
244
Member Avatar for perly

Hi, I tried parsing a multi-record genbank file (from this site: http://biopython.org/DIST/docs/tutorial/examples/ls_orchid.gbk) using the code below. The code returned an error: readline() on unopened filehandle at parser.pl line 62. The code: #!/usr/local/bin/perl -w use strict; my $record; print "Please type in the name of a file\n"; my $file = <STDIN>; …

0
149
Member Avatar for perly

I have a large data set (12,000 rows X 14 columns); the first 4 rows as below: x1 y1 0.02 NAN NAN NAN NAN NAN NAN 0.004 NAN NAN NAN NAN x2 y2 NAN 0.003 NAN 10 NAN 0.03 NAN 0.004 NAN NAN NAN NAN x3 y3 NAN NAN NAN …

Member Avatar for perly
0
250
Member Avatar for perly

Hi, I have a file containing multiple-headed data (input file 1), and also a second file containing elements for searching the first file. input file 1: UROPA sseD 1.2.3.3.3 crimson ddsU 2.1.4.1.2 green SAMEL aadH 7.4.1.1.1 blue uuoG 10.1.2.3.4 white MOONA gmaL 3.4.1.6.7 red oolJ 9.1.1.4.1 yellow input file 2: …

Member Avatar for 2teez
0
255
Member Avatar for perly

Hi, I need help to make a perl program work. I have two files - file 1 and file 2. The contents of File2 is to be searched with the contents of file 1. File2: 2 tab-delimited columns XM:1120002 complex-solution MM:0999111 blue-green solution UX:1020022 activity unknown, (simple/complex?) File1:(one column of …

Member Avatar for perly
0
285
Member Avatar for perly

Hi, I would like to the code below to search the contents of file1 in file2 and then output results arranged according to file1 contents. At the moment the code outputs are according to the order of elemnts in file2. I need some help to get this code working as …

Member Avatar for perly
0
208
Member Avatar for perly

I have two files: File1: M1U152S44906X14127_xu M1U7S112336U117688_xu File2 (tab delimited): T1X19S17508N179711_xu AAU_779 M1U152S44906X14127_xu xcup M1U7S112336U117688_xu mmna I want to search the content of File 2 using the content of File 1 and then display the output as follows: Date of search: The following matches were found in File 1: T1X19S17508N179711_xu …

Member Avatar for perly
0
193
Member Avatar for perly

Hi, I have 2 sets of multiple sequence files of DNA sequences. Examples of set 1 are as follows: Seq1.txt contains: ATACAGGATCAGATG Seq2.txt contains: ATACCGGATCAGATG Seq3.txt contains: ATACAGGGTCAGATG Examples of set 2 are as follows: Seq1.txt contains: >seq1 ATACAGGATCAGATG >seq2 Seq2.txt contains: ATACCGGATCAGATG >seq3 Seq3.txt contains: ATACAGGGTCAGATG I want one/two …

Member Avatar for perly
0
1K
Member Avatar for perly

Hi, I have a code (below) that reads from a file and output the file content a fter inserting a tab and & in-between different elements into another file. [CODE]my $REPORT_FILE = 'report.txt'; $allRfile = 'AllidentifiedMetabs1.txt'; open(ALL,"<AllidentifiedMetabs1.txt") || die "can't open $allRfile $!"; my $line = <ALL>; ($ID,$name,$M2, $M3, $M4, …

Member Avatar for perly
0
112
Member Avatar for perly

Hi, I have two files: File1 (tab-delimited and two columns): Ex_efxb 0.0023 MSeef 2.3000 F_ecjc 0.3338 MWEEI -0.111 DDAIij 17.777 File2: MSeef 2.3000 F_ecjc 0.3338 I want to search the content of File one using the content of File 2 and then display the output as follows: Date of search: …

Member Avatar for perly
0
1K
Member Avatar for perly

Hi, I need help to make a perl program work. The program accepts an input (reaction) and then search for the input in a file and then displays the reaction on the same line. Input file - file.txt (A large file with no header and in the following format): A1_HTTT24 …

Member Avatar for perly
0
123