Mercurial > repos > iuc > customize_metaphlan_database
diff formatoutput.py @ 2:8c76d39a6357 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan/ commit f1c6f4fe1e572ace84cf9106bc253603f55aac55"
| author | iuc |
|---|---|
| date | Mon, 14 Jun 2021 12:45:49 +0000 |
| parents | e9fa0c680899 |
| children | aac70228c28a |
line wrap: on
line diff
--- a/formatoutput.py Mon May 17 20:05:54 2021 +0000 +++ b/formatoutput.py Mon Jun 14 12:45:49 2021 +0000 @@ -57,7 +57,9 @@ # skip headers if line.startswith("#"): continue - + # skip UNKNOWN lines in Predicted taxon relative abundances + if "UNKNOWN" in line: + continue # spit lines split_line = line[:-1].split('\t') taxo_n = split_line[0].split('|')
