帮帮大家!!!你知道吗
150个文本文件的列表
One text file with query texts: (
SRR1005851
SRR1299210
SRR1021605
SRR1299782
SRR1299369
SRR1006158
...etc).
我想从150个文本文件列表中搜索每个查询文本。
例如,如果在至少120个文件中找到SRR1005851
,则SRR1005851
将附加在输出文件中。
搜索将迭代所有搜索查询文本并遍历所有150个文件。你知道吗
摘要:我正在查找150个文件中至少90%的查询文本。你知道吗
Tags:
我想我还没有完全理解你的问题。发布你的代码和一个示例文件会很有帮助。你知道吗
此代码将统计所有文件中的所有条目,然后它将标识每个文件中的唯一条目。之后,它将统计每个条目在每个文件中的出现次数。然后,它将只选择出现在所有文件中至少90%的条目。你知道吗
而且,这段代码本来可以短一些,但为了可读性,我创建了许多变量,它们的名称很长,很有意义。你知道吗
请阅读评论;)
相关问题 更多 >
编程相关推荐