FAstqc DAta PArser - The Easiest way to parse FastQC results.
Check out this iPython Notebook for demo.
1. Recomended way to install is using pip
pip install fadapa
2. Alternatively you can install with esay_install
easy_install fadapa
3. You can also install from Github source code.
cd git clone https://github.com/fadapa/fadapa.git cd fadapa python setup.py install
# import fadapa
from fadapa import Fadapa
#load file
f = Fadapa('/path/to/fastqc_output_file.txt')
#or
f = Fadapa('/path/to/fastqc.zip')
#or
with open('/path/to/fastqc_data.txt') as fp :
f = Fadapa(fp)
#get file name
print(f.file_name)
#get entire content
print(f.content())
#get all module names and their status
print(f.summary())
#get raw data of any module
print(f.raw_data('module name'))
#get cleaned data of any module
print(f.clean_data('module name'))