Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

removes dependence on cogent's DNA, LoadSeqs, Alignment, DenseAlignment #1497

Merged
merged 67 commits into from
Apr 11, 2014

Conversation

gregcaporaso
Copy link
Contributor

NOT READY FOR MERGE

$ gc "from cogent.*Alignment" qiime scripts tests
qiime/filter_alignment.py:14:from cogent.core.alignment import DenseAlignment #1500

$ gc "from cogent.*LoadSeqs" qiime scripts tests

  • qiime/make_phylogeny.py:21:from cogent import LoadSeqs, DNA
  • qiime/pick_otus.py:27:from cogent import LoadSeqs, DNA
    qiime/split_libraries.py:49:from cogent import DNA as DNA_cogent, LoadSeqs update primer to sequence alignment in split_libraries to use skbio's SSW wrapper #1501
  • qiime/util.py:52:from cogent import LoadSeqs, Sequence
  • scripts/filter_otus_by_sample.py:19:from cogent import LoadSeqs
  • tests/test_align_seqs.py:18:from cogent import LoadSeqs, DNA
  • tests/test_assign_taxonomy.py:25:from cogent import LoadSeqs
    tests/test_filter_alignment.py:15:from cogent import LoadSeqs re-write filter_alignment.py to make better use of skbio.core.alignment.Alignment #1500
  • tests/test_filter_otus_by_sample.py:17:from cogent import LoadSeqs
  • tests/test_identify_chimeric_seqs.py:18:from cogent import LoadSeqs, DNA
  • tests/test_make_phylogeny.py:18:from cogent import LoadSeqs, DNA
  • tests/test_parallel/test_assign_taxonomy.py:18:from cogent import LoadSeqs
  • tests/test_parallel/test_blast.py:17:from cogent import LoadSeqs
  • tests/test_parallel/test_identify_chimeric_seqs.py:17:from cogent import LoadSeqs
  • tests/test_parallel/test_util.py:18:from cogent import LoadSeqs
  • tests/test_pick_rep_set.py:17:from cogent import LoadSeqs
  • tests/test_split.py:17:from cogent import LoadSeqs
  • tests/test_workflow/test_pick_open_reference_otus.py:19:from cogent import LoadTree, LoadSeqs
  • tests/test_workflow/test_upstream.py:18:from cogent import LoadTree, LoadSeqs

$ gc "from cogent.*DNA" qiime scripts tests

Conflicts:
	qiime/adjust_seq_orientation.py
	qiime/align_seqs.py
	qiime/assign_taxonomy.py
	qiime/extract_barcodes.py
	qiime/filter_alignment.py
	qiime/parse.py
	qiime/pycogent_backports/blat.py
	qiime/pycogent_backports/uclust.py
	qiime/split_libraries.py
	qiime/split_libraries_fastq.py
	qiime/truncate_reverse_primer.py
	qiime/util.py
	scripts/adjust_seq_orientation.py
	tests/test_align_seqs.py
	tests/test_pick_otus.py
	tests/test_split_libraries.py
@ghost
Copy link

ghost commented Apr 9, 2014

Build results will soon be (or already are) available at: http://ci.qiime.org/job/qiime-github-pr/806/

@jairideout
Copy link
Member

@gregcaporaso I'm done reviewing, some mostly minor comments

@gregcaporaso
Copy link
Contributor Author

Ok, this should address everything. I tried to clean up calls of the form:

fn(open(fp))

to:

with open(fp) as f:
    fn(f)

on lines that I touched, and I think I got them all. Cleaning that up generally is outside the scope of this pull request.

This is ready for re-review for merge.

@gregcaporaso
Copy link
Contributor Author

Oh, also deleted insert_seqs_into_tree.py and related code and references (see #1499). It made sense to do that here, rather than clean up the code for this PR and then delete it.

@ghost
Copy link

ghost commented Apr 11, 2014

Build results will soon be (or already are) available at: http://ci.qiime.org/job/qiime-github-pr/814/

@@ -181,8 +181,6 @@ Alignment, tree-building, taxonomy assignment, OTU picking, and other data gener
* cdbtools (`src_cdbtools <ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/cdbfasta/cdbfasta.tar.gz>`_)
* muscle 3.8.31 (`src_muscle <http://www.drive5.com/muscle/downloads.htm>`_) (Public domain)
* rtax 0.984 (`src_rtax <http://static.davidsoergel.com/rtax-0.984.tgz>`_) (license: BSD)
* pplacer 1.1 (`src_pplacer <http://matsen.fhcrc.org/pplacer/builds/pplacer-v1.1-Linux.tar.gz>`_) (license: GPL)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these dependencies also be removed from qiime-deploy? If so, can you please create issues on the qiime-deploy-conf tracker?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done: #109

@jairideout
Copy link
Member

Looks good, just a couple of questions

@gregcaporaso
Copy link
Contributor Author

addressed your questions - ready for merge?

@jairideout
Copy link
Member

Thanks @gregcaporaso!

jairideout added a commit that referenced this pull request Apr 11, 2014
removes dependence on cogent's DNA, LoadSeqs, Alignment, DenseAlignment
@jairideout jairideout merged commit 99ff358 into biocore:master Apr 11, 2014
@gregcaporaso gregcaporaso deleted the remove-cogent-DNA branch April 11, 2014 16:47
@gregcaporaso
Copy link
Contributor Author

Thanks for the review!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants