Skip to content

Commit

Permalink
DOC: add citation (qiime2#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebolyen authored and gregcaporaso committed Apr 20, 2018
1 parent 08f757d commit 6ca2dfb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions q2_cutadapt/citations.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@article{martin2011cutadapt,
title={Cutadapt removes adapter sequences from high-throughput sequencing reads},
author={Martin, Marcel},
journal={EMBnet. journal},
volume={17},
number={1},
pages={pp--10},
year={2011},
doi={10.14806/ej.17.1.200}
}
5 changes: 2 additions & 3 deletions q2_cutadapt/plugin_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from qiime2.plugin import (
Plugin,
Citations,
MetadataColumn,
Categorical,
Float,
Expand Down Expand Up @@ -41,9 +42,7 @@
'adapters (e.g. barcodes, primers) in sequence data.',
short_description='Plugin for removing adapter sequences, primers, and '
'other unwanted sequence from sequence data.',
citation_text='Martin, M. (2011). Cutadapt removes adapter sequences from '
'high-throughput sequencing reads. EMBnet.Journal, 17(1), '
'pp. 10-12.\ndoi:http://dx.doi.org/10.14806/ej.17.1.200',
citations=Citations.load('citations.bib', package='q2_cutadapt')
)

plugin.methods.register_function(
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
['q2-cutadapt=q2_cutadapt.plugin_setup:plugin']
},
package_data={
'q2_cutadapt': ['citations.bib'],
'q2_cutadapt.tests': [
'data/*',
'data/single-end/*',
Expand Down

0 comments on commit 6ca2dfb

Please sign in to comment.