Skip to content

Commit

Permalink
fix update example command
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Mar 26, 2020
1 parent 64330ad commit 63194dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ WHERE (BioSampleOrganism NOT LIKE '%Yersinia pestis%');
```
Add delimited headers to top of file (that match NCBImeta table BioSample)
```
DELIM="|"
sed -i "1i BioSampleAccession${DELIM}BioSampleBioProjectAccession${DELIM}BioSampleStrain${DELIM}BioSampleOrganism${DELIM}BioSampleSRAAccession${DELIM}BioSampleAccessionSecondary${DELIM}BioSampleCollectionDate${DELIM}BioSampleGeographicLocation${DELIM}BioSampleHost${DELIM}BioSampleComment" annot_biosample.txt
DELIM="|";
sed -i "1i BioSampleAccession${DELIM}BioSampleBioProjectAccession${DELIM}BioSampleStrain${DELIM}BioSampleOrganism${DELIM}BioSampleSRAAccession${DELIM}BioSampleAccessionSecondary${DELIM}BioSampleCollectionDate${DELIM}BioSampleGeographicLocation${DELIM}BioSampleHost${DELIM}BioSampleComment" annot_biosample.txt;
```
Convert from pipe-separated to tab-separated file
```
Expand All @@ -73,7 +73,7 @@ Add "REMOVE: Not Yersinia pestis" to the BioSampleComment column to any rows tha
nextflow run pipeline.nf \
--ncbimeta_update ncbimeta.yaml \
--ncbimeta_annot annot_biosample.txt \
--skip_sqlite_import \
--max_datasets 3 \
-resume
```

Expand Down

0 comments on commit 63194dd

Please sign in to comment.