Git Product home page Git Product logo

ya16sdb's Introduction

NCBI curation pipeline

https://bitbucket.org/uwlabmed/mkrefpkg

Pipeline executed using scons -f SConstruct-ncbi

output directories

output-ncbi contains the pipleine output, with intermediate files in the top level, and a dated subdirectory for each run of the pipeline. The most recent output is typically symlinked to output-ncbi/LATEST. The layout of each of these subdirectories is as follows:

% ls -1 output-ncbi/LATEST/
1200bp/
appended_info.csv
git_version.txt
is_type_info.csv
ncbi.log
ncbi.txt
new/
pubmed_ids.csv
references.csv
requirements.txt
seq_info.csv
seqs.fasta
types.txt
versions.txt
  • in the top level, seq_info.csv and seqs.fasta contain the entire corpus of downloaded 16 sequences.
  • new/ - new records downloaded relative to the last run (typically not used for any downstream applications)
  • 1200bp/ - records limited to those >= 1200bp
  • 1200bp/valid/ - records in 1200bp/ with species-level names not matching the regular expression defined here: https://github.com/fhcrc/taxtastic/blob/master/taxtastic/ncbi.py#L79
  • 1200bp/valid/dedup - "valid" records deduplicated by first grouping by accession, then choosing a representative of each set of identical sequences (ie, same md5 hash),
  • 1200bp/valid/filtered - deduplicated sequences from which outliers have been discarded (using deenurp filter_outliers).
  • 1200bp/valid/types - type strains, as identified by NCBI (correspond to accessions downloaded with the genbank query filter sequence_from_type[Filter])

As an (extreme) example of the incremental filtering process:

LATEST % find . -name seq_info.csv | xargs grep -c 'Streptococcus pneumoniae' seq_info.csv
seq_info.csv:12446
./new/seq_info.csv:0
./new/valid/seq_info.csv:0
./new/invalid/seq_info.csv:0
./seq_info.csv:12446
./1200bp/seq_info.csv:11393
./1200bp/valid/seq_info.csv:11393
./1200bp/valid/dedup/seq_info.csv:11208
./1200bp/valid/filtered/seq_info.csv:11045
./1200bp/valid/types/seq_info.csv:58

ya16sdb's People

Contributors

crosenth avatar nhoffman avatar

Watchers

 avatar  avatar

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.