User: mohammadhassanj

gravatar for mohammadhassanj
Reputation:
130
Status:
Trusted
Location:
Last seen:
1 day, 3 hours ago
Joined:
3 years, 10 months ago
Email:
m**************@gmail.com

Posts by mohammadhassanj

<prev • 19 results • page 1 of 2 • next >
0
votes
3
answers
158
views
3
answers
Answer: A: Remove rows with duplicate values based on two columns
... a python solution file = map(lambda x:x.strip().split("\t"),open("yourTabDelimitedColumnFile.txt").readlines()) result = {} for seq1,seq2,snp in file: if seq1+seq2 in result or (seq2+seq1 in result and result[seq2+seq1][-1] == snp): continue result[seq1+seq2] = [se ...
written 11 days ago by mohammadhassanj130
0
votes
0
answers
127
views
0
answers
Comment: C: error while executing panX script (KeyError: 'db_xref').
... I'm not sure, but I think your input file format is not genebank. Depending on the error, your file may be in fasta format, for example ...
written 18 days ago by mohammadhassanj130
2
votes
3
answers
150
views
3
answers
Answer: A: Data management in R, perl or python
... python solution from collections import defaultdict result = defaultdict(str) for line in open("input.txt").readlines(): line = line.strip() result[line[:2]] = "/".join([result[line[:2]],line[-1]]) with open("output.txt","a") as file: for first,second in result.ite ...
written 18 days ago by mohammadhassanj130
2
votes
2
answers
557
views
2
answers
Answer: A: How to parse entries from a text file into a python script?
... import re taxids = re.sub("\n"," ",open('taxID.txt.txt','r').read()).split(" ") ...
written 19 months ago by mohammadhassanj130
0
votes
2
answers
2.9k
views
2
answers
Comment: C: Convert article title to pubmed ID
... Hi, can I have your file to test the script? ...
written 21 months ago by mohammadhassanj130
0
votes
0
answers
443
views
0
answers
Comment: C: how to combine standard deviations and mean for each group?
... could you please explain more about this? how can I do that? ...
written 21 months ago by mohammadhassanj130
0
votes
0
answers
443
views
0
answers
Comment: C: how to combine standard deviations and mean for each group?
... Rows are microRNAs and in columns there are genes (gene set) that are targeted by each microRNA. Numbers each row are the number of databases that report the targeting of a particular gene by miRNA. My goal is to look at the microRNA that targets the gene's set. So it should have the highest average ...
written 21 months ago by mohammadhassanj130
2
votes
0
answers
443
views
0
answers
how to combine standard deviations and mean for each group?
... I have a table with 10000 rows, each row having 10 columns and their numbers vary from 0 to 80.Now, if I want to compare the mean of these rows.Maybe because of the largeness of one of the numbers in the row and the compensation of the smaller numbers of the same row, I can not make a fair compariso ...
R normalization written 21 months ago by mohammadhassanj130
1
vote
0
answers
509
views
0
answers
Comment: C: how to use regular expression to grasp information before "GO:" or "#N/A"
... for line in rawdata: value1 = re.search("GO.*",line) value2 = re.search("#N/A.*",line) if value1: print(value1.group(0)) if value2: print(value2.group(0)) ...
written 2.3 years ago by mohammadhassanj130
0
votes
1
answer
1.4k
views
1
answers
Comment: C: Trying to install RSeQC-python package
... Hi, Have you seen this https://stackoverflow.com/questions/40424097/file-not-found-error-when-pip-installing-python-lzo ...
written 2.3 years ago by mohammadhassanj130

Latest awards to mohammadhassanj

Scholar 18 days ago, created an answer that has been accepted. For A: Convert article title to pubmed ID
Scholar 7 months ago, created an answer that has been accepted. For A: Convert article title to pubmed ID
Teacher 7 months ago, created an answer with at least 3 up-votes. For A: Convert article title to pubmed ID
Teacher 7 months ago, created an answer with at least 3 up-votes. For A: mirnas predicte mrna

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1641 users visited in the last hour