Git Product home page Git Product logo

metag_pipeline's Introduction

MetaG_Pipeline

Metagenomic analysis pipeline by Edna Chiang.

To view the pipeline tutorial online, click here.

To download the pipeline tutorial, click "Download" for this file.

metag_pipeline's People

Contributors

ednachiang avatar

Watchers

 avatar

metag_pipeline's Issues

Problem with cogformat.py

Hi Edna,
Thank you so much for making available your pipeline for metagenomics. It has helped me a lot. I am trying to use the cogformat.py for my resutls of rpsblast cog. However, it appears this error:

Traceback (most recent call last):
File "cogformat.py", line 60, in
output = formatCOG(directoryCOG)
File "cogformat.py", line 34, in formatCOG
COGinput = pd.read_csv(COGfiles[file2], sep='\s+', index_col = 0, names = ['Function', 'Count'])
File "/home/p277936/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 605, in read_csv
return _read(filepath_or_buffer, kwds)
File "/home/p277936/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 463, in _read
return parser.read(nrows)
File "/home/p277936/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1052, in read
index, columns, col_dict = self._engine.read(nrows)
File "/home/p277936/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 2096, in read
values = data.pop(self.index_col[i])
IndexError: list index out of range

The line 2096 looks fine in the cog_stats.txt file (similar to the other lines). I am wondering if you have a suggestion to solve this issue.
Cheers,
Ed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.