X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=blobdiff_plain;f=bin%2Fparse_uniprot_results;h=96a176d1706ffc16b37418e366a4018b4d96ac3e;hp=6b90eb72b47660fb0b8beaf7745337f43ebaab57;hb=b7fa49b314e0844bbca5ed06cbe5f7e6bfa651c4;hpb=3f759318c3a4c283f19113827dbaf206cb0f0252 diff --git a/bin/parse_uniprot_results b/bin/parse_uniprot_results index 6b90eb7..96a176d 100755 --- a/bin/parse_uniprot_results +++ b/bin/parse_uniprot_results @@ -136,6 +136,8 @@ FILE: while ($_ = $dir->read) { if (not defined $current_field and $type ne 'ID') { next FILE; } + next FILE if $type eq 'DE' and $data =~ /\(Fragment\)/; + next FILE if $type eq 'ID' and $data =~ /Unreviewed;/; if (not defined $current_field or $current_field->{type} ne $type) { if (defined $current_field) { push @fields,$current_field;