Skip to content

Commit

Permalink
improved join master
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Feb 28, 2020
1 parent 22e4e12 commit 926f817
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,21 @@ params.ncbimeta_join_second_uniq = "'BioSampleBioProjectAccession'"
params.ncbimeta_join_second_accessory = "'BioProject'"
params.ncbimeta_join_second_anchor = "MasterFirst"

NCBImetaJoin.py \
--database yersinia_pestis_db.sqlite \
--anchor BioSample \
--accessory "SRA" \
--final BioSampleSRA \
--unique "BioSampleAccession BioSampleSRAAccession"

NCBImetaJoin.py \
--database yersinia_pestis_db.sqlite \
--anchor Assembly \
--accessory "BioProject" \
--final AssemblyBioProject \
--unique "AssemblyAccession AssemblyGenbankBioprojectAccession"


NCBImetaJoin.py \
--database yersinia_pestis_db.sqlite \
--anchor BioSample \
Expand All @@ -116,7 +131,7 @@ NCBImetaJoin.py \
--anchor MasterFirst \
--accessory BioProject \
--final Master \
--unique ${params.ncbimeta_join_second_uniq}
--unique "BioSampleAccession BioSampleBioProjectAccession"

### Perl5 Issues
export PERL5LIB=~/miniconda3/envs/phylo-env/lib/site_perl/5.26.2/
2 changes: 1 addition & 1 deletion pipeline.nf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ params.ncbimeta_join_first_anchor = "BioSample"

// NCBImetaJoin Second Parameters
params.ncbimeta_join_second_final = "Master"
params.ncbimeta_join_second_uniq = "'BioSampleBioProjectAccession'"
params.ncbimeta_join_second_uniq = "'BioSampleAccession BioSampleBioProjectAccession'"
params.ncbimeta_join_second_accessory = "'BioProject'"
params.ncbimeta_join_second_anchor = "MasterFirst"

Expand Down

0 comments on commit 926f817

Please sign in to comment.