Skip to content

Commit

Permalink
Merge pull request #33 from sbslee/0.18.0-dev
Browse files Browse the repository at this point in the history
0.18.0 dev
  • Loading branch information
sbslee authored Jul 20, 2021
2 parents eb45ac5 + bb55f05 commit 7c2645c
Show file tree
Hide file tree
Showing 15 changed files with 324 additions and 66 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
Changelog
*********

0.18.0 (2021-07-20)
-------------------

* Update :command:`fq-count` command to run significantly faster.
* Update :command:`fuc-find` command to support pattern matching that is more robust than just file extension.
* Update :meth:`pyvcf.VcfFrame.subset` method to take string as input in addition to list.
* Fix a minor bug in :meth:`pymaf.MafFrame.plot_snvclss` method when certain SNV classes are entirely missing.
* Add ``statsmodels`` package as dependency for performing statistical analysis.
* Update :meth:`pymaf.MafFrame.plot_regplot` method to calculate and print summary statistics as well.
* Update :meth:`pyvcf.VcfFrame.plot_regplot` method to calculate and print summary statistics as well.
* :issue:`32`: Add :meth:`pyvcf.VcfFrame.miss2ref` method.
* Update :meth:`pymaf.MafFrame.plot_tmb` method to draw empty bars with warning when specified samples do not exist.
* Update :meth:`pymaf.MafFrame.plot_waterfall` method to draw empty bars with warning when specified samples do not exist.
* Add ``flip`` argument to :meth:`pymaf.MafFrame.plot_genes` method.
* Add new method :meth:`pymaf.MafFrame.plot_mutated`.

0.17.0 (2021-07-08)
-------------------

Expand Down
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ The following packages are required to run fuc:
pysam
scipy
seaborn
statsmodels
There are various ways you can install fuc. The recommended way is via conda (`Anaconda <https://www.anaconda.com/>`__):

Expand Down Expand Up @@ -121,7 +122,7 @@ For getting help on the fuc CLI:
fuc-compf [FUC] Compare the contents of two files.
fuc-demux [FUC] Parse the Reports directory from bcl2fastq.
fuc-exist [FUC] Check whether certain files exist.
fuc-find [FUC] Find all files with a certain extension recursively.
fuc-find [FUC] Find all filenames matching a specified pattern recursively.
maf-maf2vcf [MAF] Convert a MAF file to a VCF file.
maf-oncoplt [MAF] Create an oncoplot with a MAF file.
maf-sumplt [MAF] Create a summary plot with a MAF file.
Expand All @@ -133,7 +134,7 @@ For getting help on the fuc CLI:
vcf-rename [VCF] Rename the samples in a VCF file.
vcf-slice [VCF] Slice a VCF file.
vcf-vcf2bed [VCF] Convert a VCF file to a BED file.
vcf-vep [VCF] Filter a VCF file annotated by Ensemble VEP.
vcf-vep [VCF] Filter a VCF file annotated by Ensembl VEP.
optional arguments:
-h, --help Show this help message and exit.
Expand Down Expand Up @@ -240,7 +241,7 @@ To merge VCF files:
$ fuc vcf-merge 1.vcf 2.vcf 3.vcf > merged.vcf
To filter a VCF file annotated by Ensemble VEP:
To filter a VCF file annotated by Ensembl VEP:

.. code-block:: text
Expand Down
1 change: 1 addition & 0 deletions conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ dependencies:
- seaborn
- sphinx-issues
- sphinx_rtd_theme
- statsmodels
- twine
24 changes: 12 additions & 12 deletions docs/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For getting help on the fuc CLI:
fuc-compf [FUC] Compare the contents of two files.
fuc-demux [FUC] Parse the Reports directory from bcl2fastq.
fuc-exist [FUC] Check whether certain files exist.
fuc-find [FUC] Find all files with a certain extension recursively.
fuc-find [FUC] Find all filenames matching a specified pattern recursively.
maf-maf2vcf [MAF] Convert a MAF file to a VCF file.
maf-oncoplt [MAF] Create an oncoplot with a MAF file.
maf-sumplt [MAF] Create a summary plot with a MAF file.
Expand All @@ -41,7 +41,7 @@ For getting help on the fuc CLI:
vcf-rename [VCF] Rename the samples in a VCF file.
vcf-slice [VCF] Slice a VCF file.
vcf-vcf2bed [VCF] Convert a VCF file to a BED file.
vcf-vep [VCF] Filter a VCF file annotated by Ensemble VEP.
vcf-vep [VCF] Filter a VCF file annotated by Ensembl VEP.
optional arguments:
-h, --help Show this help message and exit.
Expand Down Expand Up @@ -195,7 +195,7 @@ fq-count
$ fuc fq-count -h
usage: fuc fq-count [-h] [fastq ...]
This command will count sequence reads in FASTQ files (both zipped and unzipped).
This command will count sequence reads in FASTQ files.
It will look for stdin if there are no arguments.
Expand All @@ -204,7 +204,7 @@ fq-count
$ cat fastq.list | fuc fq-count
Positional arguments:
fastq FASTQ files (default: stdin).
fastq FASTQ files (zipped or unzipped) (default: stdin).
Optional arguments:
-h, --help Show this help message and exit.
Expand Down Expand Up @@ -305,17 +305,17 @@ fuc-find
.. code-block:: text
$ fuc fuc-find -h
usage: fuc fuc-find [-h] [--dir PATH] ext
usage: fuc fuc-find [-h] [--dir PATH] pattern
This command will recursively find all files with a certain extension and then return their absolute paths.
This command will recursively find all the filenames matching a specified pattern and then return their absolute paths.
Usage examples:
$ fuc fuc-find .vcf
$ fuc fuc-find .vcf.gz
$ fuc fuc-find .vcf.gz --dir ~/test_dir
$ fuc fuc-find "*.vcf"
$ fuc fuc-find "*.vcf.*"
$ fuc fuc-find "*.vcf.gz" --dir ~/test_dir
Positional arguments:
ext File extension.
pattern Filename pattern.
Optional arguments:
-h, --help Show this help message and exit.
Expand Down Expand Up @@ -662,7 +662,7 @@ vcf-vep
$ fuc vcf-vep -h
usage: fuc vcf-vep [-h] [--opposite] [--as_zero] vcf expr
This command will filter a VCF file annotated by Ensemble VEP.
This command will filter a VCF file annotated by Ensembl VEP.
Usage examples:
$ fuc vcf-vep in.vcf "SYMBOL == 'TP53'" > out.vcf
Expand All @@ -674,7 +674,7 @@ vcf-vep
$ fuc vcf-vep in.vcf "gnomAD_AF < 0.001" --as_zero > out.vcf
Positional arguments:
vcf VCF file annotated by Ensemble VEP.
vcf VCF file annotated by Ensembl VEP.
expr Query expression to evaluate.
Optional arguments:
Expand Down
3 changes: 2 additions & 1 deletion docs/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
pysam
scipy
seaborn
statsmodels
There are various ways you can install fuc. The recommended way is via conda (`Anaconda <https://www.anaconda.com/>`__):
Expand Down Expand Up @@ -227,7 +228,7 @@
$ fuc vcf-merge 1.vcf 2.vcf 3.vcf > merged.vcf
To filter a VCF file annotated by Ensemble VEP:
To filter a VCF file annotated by Ensembl VEP:
.. code-block:: text
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pandas
pysam
scipy
seaborn
statsmodels
Loading

0 comments on commit 7c2645c

Please sign in to comment.